Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 194.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3547/0.3547, allocations: 39.93 MB / 309.3 MB, free: 9.285 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.92 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 56.89 MB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003857/0.1504, allocations: 2.433 MB / 436.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1522, allocations: 0.9796 MB / 437.2 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.1524, allocations: 7.938 kB / 437.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.1528, allocations: 103.4 kB / 437.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.1531, allocations: 79.58 kB / 437.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006225/0.1537, allocations: 255.7 kB / 437.6 MB, free: 256 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006165/0.1543, allocations: 0.6744 MB / 438.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.1545, allocations: 77.31 kB / 438.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.1548, allocations: 271 kB / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.1552, allocations: 322.6 kB / 439 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.046e-05/0.1553, allocations: 32 kB / 439 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.987e-05/0.1554, allocations: 36 kB / 439 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.1556, allocations: 159.5 kB / 439.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.1558, allocations: 230.7 kB / 439.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.1562, allocations: 0.5061 MB / 439.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1562, allocations: 0 / 439.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1563, allocations: 7.938 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1563, allocations: 0 / 439.9 MB, free: 13.95 MB / 382.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.002153/0.1584, allocations: 0.9392 MB / 440.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1585, allocations: 12.03 kB / 440.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.1586, allocations: 60.38 kB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.1591, allocations: 379 kB / 441.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.1595, allocations: 263.7 kB / 441.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.1596, allocations: 43.94 kB / 441.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.1615, allocations: 0.8086 MB / 442.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.1615, allocations: 0 / 442.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.1616, allocations: 23.98 kB / 442.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1616, allocations: 8 kB / 442.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.1651, allocations: 1.208 MB / 443.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.1682, allocations: 2.035 MB / 445.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/0.1709, allocations: 0.8324 MB / 446.5 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.1723, allocations: 498.3 kB / 447 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.332e-05/0.1724, allocations: 15.92 kB / 447 MB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.1725, allocations: 42.55 kB / 447.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 3.166e-06/0.1725, allocations: 0 / 447.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.3124/0.4849, allocations: 15.76 MB / 462.8 MB, free: 50.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.485, allocations: 91.27 kB / 462.9 MB, free: 50.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.4854, allocations: 385.4 kB / 463.3 MB, free: 50.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.4856, allocations: 45.08 kB / 463.3 MB, free: 50.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4857, allocations: 221.1 kB / 463.6 MB, free: 50.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.486, allocations: 399.5 kB / 464 MB, free: 49.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004989/0.4865, allocations: 203.2 kB / 464.1 MB, free: 49.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.4866, allocations: 371.7 kB / 464.5 MB, free: 49.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/0.4896, allocations: 1.337 MB / 465.8 MB, free: 48.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.4926, allocations: 1.499 MB / 467.3 MB, free: 48.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005588/0.4982, allocations: 2.438 MB / 469.8 MB, free: 47.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4982, allocations: 3 kB / 469.8 MB, free: 47.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006455/0.5047, allocations: 2.832 MB / 472.6 MB, free: 46.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.5047, allocations: 9.484 kB / 472.6 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5047, allocations: 3.188 kB / 472.6 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.5048, allocations: 13.41 kB / 472.6 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/0.5072, allocations: 404.3 kB / 473 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.252e-05/0.5073, allocations: 15.36 kB / 473.1 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.5093, allocations: 220.6 kB / 473.3 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.5095, allocations: 39.31 kB / 473.3 MB, free: 45.98 MB / 382.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.000582/0.5101, allocations: 237 kB / 473.5 MB, free: 45.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.5104, allocations: 63.34 kB / 473.6 MB, free: 45.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.5106, allocations: 110.1 kB / 473.7 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.5107, allocations: 16.69 kB / 473.7 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.546e-05/0.5107, allocations: 0 / 473.7 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.5107, allocations: 7.031 kB / 473.7 MB, free: 45.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.5211, allocations: 5.225 MB / 479 MB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.5212, allocations: 21.22 kB / 479 MB, free: 43.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.5226, allocations: 351.4 kB / 479.3 MB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.833e-05/0.5226, allocations: 31.06 kB / 479.4 MB, free: 43.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.49e-05/0.5227, allocations: 49.09 kB / 479.4 MB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.078e-05/0.5227, allocations: 39.84 kB / 479.4 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-05/0.5228, allocations: 34.62 kB / 479.5 MB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006729/0.5295, allocations: 3.093 MB / 482.6 MB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/0.5302, allocations: 233.7 kB / 482.8 MB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.5304, allocations: 53.39 kB / 482.8 MB, free: 41.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.5319, allocations: 189.1 kB / 483 MB, free: 41.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004901/0.5324, allocations: 216.7 kB / 483.2 MB, free: 41.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.5325, allocations: 59.06 kB / 483.3 MB, free: 41.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000281/0.5328, allocations: 266.6 kB / 483.6 MB, free: 41.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5328, allocations: 0 / 483.6 MB, free: 41.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001119/0.5339, allocations: 233.2 kB / 483.8 MB, free: 40.98 MB / 382.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.0002112/0.5341, allocations: 166.2 kB / 484 MB, free: 40.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006112/0.5402, allocations: 2.344 MB / 486.3 MB, free: 40 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.396e-05/0.5403, allocations: 3.406 kB / 486.3 MB, free: 40 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003557/0.5439, allocations: 1.069 MB / 487.4 MB, free: 39.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.5456, allocations: 150.2 kB / 487.5 MB, free: 39.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.5495, allocations: 2.203 MB / 489.7 MB, free: 37.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.55, allocations: 0.9237 MB / 490.6 MB, free: 37.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001333/0.5513, allocations: 195.4 kB / 490.8 MB, free: 37.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/0.5519, allocations: 68.27 kB / 490.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5519, allocations: 5.875 kB / 490.9 MB, free: 37.08 MB / 382.1 MB Notification: Performance of Templates: time 0.03674/0.5887, allocations: 15.23 MB / 0.4943 GB, free: 32.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1)