Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001764/0.001764, allocations: 193 kB / 16.13 MB, free: 6.652 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.548/1.548, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3122/0.3122, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.1. 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.001317/0.001317, allocations: 67.84 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 56.46 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003183/0.1119, allocations: 2.432 MB / 433.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1133, allocations: 0.9757 MB / 434.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.1134, allocations: 11.94 kB / 434.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1138, allocations: 99.5 kB / 434.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1139, allocations: 83.52 kB / 434.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.1145, allocations: 255.6 kB / 434.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.115, allocations: 0.6743 MB / 435.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1152, allocations: 85.23 kB / 435.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.1155, allocations: 271 kB / 435.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.1158, allocations: 314.7 kB / 436.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.1159, allocations: 32 kB / 436.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.116, allocations: 35.94 kB / 436.2 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1161, allocations: 171.5 kB / 436.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.1163, allocations: 226.7 kB / 436.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.1168, allocations: 0.5178 MB / 437.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1168, allocations: 0 / 437.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1168, allocations: 0 / 437.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1168, allocations: 0 / 437.2 MB, free: 0.8945 MB / 366.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.002114/0.1189, allocations: 0.9353 MB / 438.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.119, allocations: 8.031 kB / 438.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1191, allocations: 64.38 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.1196, allocations: 375.1 kB / 438.5 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.1199, allocations: 263.7 kB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.12, allocations: 48.27 kB / 438.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.1218, allocations: 0.8087 MB / 439.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1218, allocations: 0 / 439.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/0.1219, allocations: 16 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.1219, allocations: 12 kB / 439.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.125, allocations: 1.2 MB / 440.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.1276, allocations: 2.05 MB / 442.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002672/0.1303, allocations: 0.8207 MB / 443.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.1316, allocations: 494.4 kB / 444.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.803e-05/0.1317, allocations: 11.98 kB / 444.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1317, allocations: 50.44 kB / 444.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 1.914e-06/0.1317, allocations: 0 / 444.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.2634/0.3952, allocations: 15.74 MB / 460 MB, free: 52.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3953, allocations: 98.27 kB / 460.1 MB, free: 52.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.3957, allocations: 398.3 kB / 460.5 MB, free: 52.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.3958, allocations: 45.11 kB / 460.6 MB, free: 52.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.3959, allocations: 219.5 kB / 460.8 MB, free: 52.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.3962, allocations: 401.6 kB / 461.2 MB, free: 52.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005139/0.3967, allocations: 196.9 kB / 461.4 MB, free: 51.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.3968, allocations: 372.3 kB / 461.7 MB, free: 51.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.3998, allocations: 1.343 MB / 463.1 MB, free: 51.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.4027, allocations: 1.494 MB / 464.6 MB, free: 50.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005472/0.4082, allocations: 2.441 MB / 467 MB, free: 49.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4083, allocations: 0 / 467 MB, free: 49.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006335/0.4146, allocations: 2.833 MB / 469.8 MB, free: 48.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.4147, allocations: 9.422 kB / 469.8 MB, free: 48.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.4147, allocations: 3.031 kB / 469.8 MB, free: 48.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/0.4147, allocations: 9.031 kB / 469.8 MB, free: 48.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/0.4173, allocations: 406.8 kB / 470.2 MB, free: 48.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.4173, allocations: 15.83 kB / 470.3 MB, free: 48.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.4192, allocations: 217.6 kB / 470.5 MB, free: 48.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.4194, allocations: 40.53 kB / 470.5 MB, free: 48.32 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.0004637/0.4198, allocations: 229.8 kB / 470.7 MB, free: 48.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.4201, allocations: 70.89 kB / 470.8 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.4203, allocations: 112.8 kB / 470.9 MB, free: 48.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.4203, allocations: 12.66 kB / 470.9 MB, free: 48.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.54e-05/0.4203, allocations: 5.094 kB / 470.9 MB, free: 48.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/0.4203, allocations: 9.859 kB / 470.9 MB, free: 48.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.4304, allocations: 5.22 MB / 476.2 MB, free: 45.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.4304, allocations: 23.56 kB / 476.2 MB, free: 45.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.4318, allocations: 352 kB / 476.5 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.874e-05/0.4318, allocations: 29.38 kB / 476.6 MB, free: 45.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-05/0.4319, allocations: 48.53 kB / 476.6 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.44e-05/0.432, allocations: 45.05 kB / 476.6 MB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.348e-05/0.432, allocations: 31.19 kB / 476.7 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0062/0.4382, allocations: 3.086 MB / 479.8 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.4387, allocations: 233.2 kB / 480 MB, free: 43.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.4388, allocations: 56.05 kB / 480 MB, free: 43.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.44, allocations: 193.2 kB / 480.2 MB, free: 43.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/0.4405, allocations: 221.7 kB / 480.5 MB, free: 43.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.303e-05/0.4406, allocations: 55.34 kB / 480.5 MB, free: 43.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.4409, allocations: 265 kB / 480.8 MB, free: 43.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4409, allocations: 0 / 480.8 MB, free: 43.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009891/0.4419, allocations: 231.2 kB / 481 MB, free: 43.32 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.0002091/0.4421, allocations: 179.8 kB / 481.2 MB, free: 43.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005617/0.4477, allocations: 2.343 MB / 483.5 MB, free: 42.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/0.4478, allocations: 3.031 kB / 483.5 MB, free: 42.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003354/0.4511, allocations: 1.067 MB / 484.6 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.4526, allocations: 161.8 kB / 484.7 MB, free: 41.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.4564, allocations: 2.196 MB / 486.9 MB, free: 40.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.457, allocations: 0.9189 MB / 487.9 MB, free: 39.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001299/0.4583, allocations: 198.1 kB / 488 MB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/0.4589, allocations: 64.75 kB / 488.1 MB, free: 39.42 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4589, allocations: 0 / 488.1 MB, free: 39.42 MB / 382.1 MB Notification: Performance of Templates: time 0.03206/0.4909, allocations: 15.25 MB / 0.4916 GB, free: 35.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1)