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.0009047/0.0009048, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001017/0.001018, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.316/0.316, allocations: 39.99 MB / 310.4 MB, free: 9.945 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.0005701/0.0005703, allocations: 16 kB / 378.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1121, allocations: 57.96 MB / 436.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002423/0.1146, allocations: 1.959 MB / 438.7 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1162, allocations: 0.9527 MB / 439.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.1165, allocations: 7.938 kB / 439.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.1168, allocations: 79.58 kB / 439.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.1171, allocations: 91.72 kB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.1177, allocations: 223.6 kB / 440.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006329/0.1184, allocations: 427.2 kB / 440.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1186, allocations: 65.22 kB / 440.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.119, allocations: 263.1 kB / 440.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.1194, allocations: 298.9 kB / 441.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.1195, allocations: 32 kB / 441.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.1196, allocations: 31.94 kB / 441.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.1198, allocations: 143.6 kB / 441.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1199, allocations: 97.45 kB / 441.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1202, allocations: 387.3 kB / 441.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1202, allocations: 0 / 441.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1202, allocations: 0 / 441.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.1203, allocations: 4 kB / 441.8 MB, free: 13.56 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.002249/0.1225, allocations: 0.9353 MB / 442.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1226, allocations: 8.031 kB / 442.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.1227, allocations: 59.44 kB / 442.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.1233, allocations: 362.1 kB / 443.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003578/0.1236, allocations: 275.1 kB / 443.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1238, allocations: 51.92 kB / 443.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.1259, allocations: 0.8555 MB / 444.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.126, allocations: 3.953 kB / 444.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.126, allocations: 20 kB / 444.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1261, allocations: 12 kB / 444.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003812/0.1299, allocations: 1.321 MB / 445.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.133, allocations: 2.074 MB / 447.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.1363, allocations: 0.9026 MB / 448.6 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.074e-05/0.1364, allocations: 5.062 kB / 448.6 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1364, allocations: 42.52 kB / 448.7 MB, free: 6.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.745e-06/0.1364, allocations: 4 kB / 448.7 MB, free: 6.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.2805/0.4169, allocations: 18.23 MB / 466.9 MB, free: 48.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.417, allocations: 90.45 kB / 467 MB, free: 48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.4174, allocations: 386 kB / 467.4 MB, free: 47.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.4176, allocations: 48.27 kB / 467.4 MB, free: 47.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4177, allocations: 221.3 kB / 467.6 MB, free: 47.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.4181, allocations: 393.1 kB / 468 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.4182, allocations: 26.19 kB / 468 MB, free: 47.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.4183, allocations: 371.3 kB / 468.4 MB, free: 47.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/0.4217, allocations: 1.451 MB / 469.9 MB, free: 46.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/0.4251, allocations: 1.599 MB / 471.5 MB, free: 45.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.4283, allocations: 1.311 MB / 472.8 MB, free: 45.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.4283, allocations: 3.094 kB / 472.8 MB, free: 45.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007115/0.4354, allocations: 3.051 MB / 475.8 MB, free: 44.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.4355, allocations: 6 kB / 475.8 MB, free: 44.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4355, allocations: 3.219 kB / 475.8 MB, free: 44.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.893e-05/0.4355, allocations: 13.5 kB / 475.8 MB, free: 44.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/0.4382, allocations: 466 kB / 476.3 MB, free: 44.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-05/0.4382, allocations: 12.72 kB / 476.3 MB, free: 44.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.4402, allocations: 286.1 kB / 476.6 MB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.4403, allocations: 44.44 kB / 476.6 MB, free: 44.2 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.moving[1],kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.noWphase,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004463/0.4408, allocations: 232.9 kB / 476.9 MB, free: 44.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.441, allocations: 62.19 kB / 476.9 MB, free: 43.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.4412, allocations: 109.4 kB / 477 MB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4412, allocations: 12.81 kB / 477 MB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/0.4412, allocations: 0 / 477 MB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4413, allocations: 10.58 kB / 477.1 MB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.4518, allocations: 5.544 MB / 482.6 MB, free: 41.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-05/0.4519, allocations: 21.28 kB / 482.6 MB, free: 41.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.4535, allocations: 414.4 kB / 483 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.705e-05/0.4536, allocations: 34.64 kB / 483.1 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.4537, allocations: 46.56 kB / 483.1 MB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.435e-05/0.4537, allocations: 38.16 kB / 483.1 MB, free: 41.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.249e-05/0.4538, allocations: 38.38 kB / 483.2 MB, free: 41.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007616/0.4614, allocations: 4.498 MB / 487.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.4618, allocations: 241.3 kB / 487.9 MB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.462, allocations: 53.33 kB / 488 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.4634, allocations: 254.4 kB / 488.2 MB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/0.464, allocations: 228.2 kB / 488.4 MB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.4641, allocations: 56.95 kB / 488.5 MB, free: 37.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.4644, allocations: 261.9 kB / 488.7 MB, free: 37.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4644, allocations: 0 / 488.7 MB, free: 37.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001087/0.4655, allocations: 234 kB / 489 MB, free: 37.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002795/0.4658, allocations: 169.2 kB / 489.1 MB, free: 37.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006749/0.4725, allocations: 2.554 MB / 491.7 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.4726, allocations: 2.75 kB / 491.7 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00351/0.4761, allocations: 1.177 MB / 492.9 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.4771, allocations: 132.4 kB / 493 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.4809, allocations: 2.157 MB / 495.2 MB, free: 34.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.4815, allocations: 0.9372 MB / 496.1 MB, free: 33.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.4829, allocations: 198.9 kB / 496.3 MB, free: 33.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/0.4835, allocations: 67.09 kB / 496.4 MB, free: 33.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4835, allocations: 0 / 496.4 MB, free: 33.52 MB / 382.1 MB Notification: Performance of Templates: time 0.02434/0.5079, allocations: 14.63 MB / 0.499 GB, free: 26.81 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: