Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 109.2 kB / 20.42 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 217.6 kB / 23.72 MB, free: 5.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.2 MB / 257.1 MB, free: 8.465 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2325/0.2325, allocations: 46.88 MB / 360.3 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.KinematicPTP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_KinematicPTP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 79.86 kB / 0.4955 GB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3163, allocations: 65.99 MB / 0.56 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003885/0.3201, allocations: 2.43 MB / 0.5624 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3219, allocations: 0.9835 MB / 0.5633 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.3221, allocations: 7.938 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.3224, allocations: 119.2 kB / 0.5634 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.3227, allocations: 99.31 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.3234, allocations: 287.5 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000773/0.3241, allocations: 0.7171 MB / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3243, allocations: 46.89 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.3246, allocations: 306.9 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.3251, allocations: 338.8 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.326e-05/0.3252, allocations: 63.98 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.3253, allocations: 63.94 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.3255, allocations: 191.4 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.3257, allocations: 242.7 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000603/0.3263, allocations: 0.5525 MB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3263, allocations: 0 / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3263, allocations: 3.938 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3263, allocations: 0 / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002355/0.3287, allocations: 0.9505 MB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3287, allocations: 8.031 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.3288, allocations: 86.72 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.329, allocations: 68.55 kB / 0.5673 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006353/0.3296, allocations: 395.3 kB / 0.5677 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/0.33, allocations: 259.7 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/0.3301, allocations: 44.38 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.3323, allocations: 0.8085 MB / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3323, allocations: 0 / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.3323, allocations: 16 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3323, allocations: 12 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00374/0.3361, allocations: 1.197 MB / 0.57 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.3391, allocations: 2.031 MB / 0.572 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.3423, allocations: 0.7816 MB / 0.5727 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.3439, allocations: 450.4 kB / 0.5732 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.171e-05/0.344, allocations: 11.98 kB / 0.5732 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.344, allocations: 50.44 kB / 0.5732 GB, free: 7.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 2.084e-06/0.344, allocations: 0 / 0.5732 GB, free: 7.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.09124/0.4353, allocations: 15.76 MB / 0.5886 GB, free: 7.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/0.4354, allocations: 110 kB / 0.5887 GB, free: 6.969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.4359, allocations: 385.5 kB / 0.5891 GB, free: 6.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/0.4361, allocations: 49.64 kB / 0.5891 GB, free: 6.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.4363, allocations: 221.5 kB / 0.5893 GB, free: 6.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004883/0.4368, allocations: 420.4 kB / 0.5897 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006018/0.4374, allocations: 202.8 kB / 0.5899 GB, free: 5.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002293/0.4376, allocations: 370.8 kB / 0.5903 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003937/0.4416, allocations: 1.342 MB / 0.5916 GB, free: 3.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004063/0.4456, allocations: 1.497 MB / 0.5931 GB, free: 2.434 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00702/0.4526, allocations: 2.437 MB / 0.5954 GB, free: 15.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4526, allocations: 4 kB / 0.5954 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008209/0.4609, allocations: 2.83 MB / 0.5982 GB, free: 13.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4609, allocations: 4 kB / 0.5982 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4609, allocations: 8.25 kB / 0.5982 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.4609, allocations: 8 kB / 0.5982 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/0.4638, allocations: 415.3 kB / 0.5986 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.193e-05/0.4638, allocations: 11.94 kB / 0.5986 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.4659, allocations: 215.7 kB / 0.5988 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.466, allocations: 43.98 kB / 0.5989 GB, free: 12.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005151/0.4665, allocations: 234.8 kB / 0.5991 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.4668, allocations: 63.62 kB / 0.5992 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.467, allocations: 108.7 kB / 0.5993 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.467, allocations: 15.94 kB / 0.5993 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.4671, allocations: 7.922 kB / 0.5993 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.4671, allocations: 11.97 kB / 0.5993 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.4793, allocations: 5.228 MB / 0.6044 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/0.4793, allocations: 23.94 kB / 0.6044 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.4809, allocations: 355.5 kB / 0.6048 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-05/0.4809, allocations: 28 kB / 0.6048 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/0.481, allocations: 44 kB / 0.6048 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.124e-05/0.481, allocations: 39.86 kB / 0.6049 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.258e-05/0.481, allocations: 31.88 kB / 0.6049 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007607/0.4886, allocations: 3.095 MB / 0.6079 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.4891, allocations: 248.6 kB / 0.6082 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.4892, allocations: 51.98 kB / 0.6082 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.4906, allocations: 187.8 kB / 0.6084 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004359/0.491, allocations: 219.2 kB / 0.6086 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.4911, allocations: 55.98 kB / 0.6087 GB, free: 1.727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003492/0.4915, allocations: 267.2 kB / 0.6089 GB, free: 1.465 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4915, allocations: 0 / 0.6089 GB, free: 1.465 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009998/0.4925, allocations: 228 kB / 0.6091 GB, free: 1.242 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00825/0.5007, allocations: 3.686 MB / 0.6127 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006614/0.5074, allocations: 2.16 MB / 0.6148 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/0.5074, allocations: 8.125 kB / 0.6148 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003531/0.5109, allocations: 1.047 MB / 0.6159 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.5122, allocations: 151.1 kB / 0.616 GB, free: 9.883 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02838/0.5406, allocations: 12.39 MB / 0.6281 GB, free: 12.76 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.5412, allocations: 0.9281 MB / 0.629 GB, free: 11.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001026/0.5423, allocations: 210.2 kB / 0.6292 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007165/0.543, allocations: 223.3 kB / 0.6294 GB, free: 11.38 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/0.543, allocations: 0 / 0.6294 GB, free: 11.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05362/0.5966, allocations: 22.06 MB / 0.651 GB, free: 5.387 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.453/10.05, allocations: 11.48 kB / 0.651 GB, free: 5.379 MB / 494.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_KinematicPTP_fmu --startTime=0 --stopTime=3 --stepSize=0.000598444 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_KinematicPTP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.75228409981355] Failed to read output from testmodel.py, exit status != 0: ['time', 'integrator.y', 'integrator1.y', 'integrator2.y', 'integrator3.y'] 10.133414790965617 10.158968604 9.827851227 Calling exit ...