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.0007319/0.000732, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004542/0.004542, allocations: 171.5 kB / 16.27 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.53/1.53, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.3173/0.3173, allocations: 38.03 MB / 308.8 MB, free: 10.33 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.0006756/0.0006755, allocations: 12 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1238, allocations: 57.51 MB / 434.6 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002404/0.1263, allocations: 2.063 MB / 436.6 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1278, allocations: 0.9602 MB / 437.6 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1279, allocations: 11.88 kB / 437.6 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.1283, allocations: 99.5 kB / 437.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1285, allocations: 83.58 kB / 437.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.1291, allocations: 255.6 kB / 438 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006605/0.1298, allocations: 0.6859 MB / 438.7 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1299, allocations: 85.22 kB / 438.8 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.1302, allocations: 263 kB / 439 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.1306, allocations: 318.7 kB / 439.4 MB, free: 400 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.1307, allocations: 28 kB / 439.4 MB, free: 372 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.273e-05/0.1307, allocations: 32 kB / 439.4 MB, free: 340 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.1309, allocations: 167.5 kB / 439.6 MB, free: 172 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.1311, allocations: 240.5 kB / 439.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.1315, allocations: 0.4981 MB / 440.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1316, allocations: 0 / 440.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1316, allocations: 4 kB / 440.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1316, allocations: 0 / 440.3 MB, free: 15.42 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.002094/0.1337, allocations: 0.92 MB / 441.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1337, allocations: 8.031 kB / 441.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1339, allocations: 80.22 kB / 441.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.1343, allocations: 379.1 kB / 441.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003657/0.1347, allocations: 267.7 kB / 442 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/0.1348, allocations: 44.38 kB / 442 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.1369, allocations: 0.8712 MB / 442.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1369, allocations: 3.938 kB / 442.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/0.137, allocations: 19.98 kB / 442.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.137, allocations: 12 kB / 442.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.1406, allocations: 1.317 MB / 444.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.1433, allocations: 2.085 MB / 446.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/0.1464, allocations: 0.8988 MB / 447.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.148, allocations: 0.5492 MB / 447.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.554e-05/0.1481, allocations: 19.91 kB / 447.8 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1481, allocations: 42.5 kB / 447.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.024e-06/0.1481, allocations: 0 / 447.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.3065/0.4546, allocations: 18.23 MB / 466 MB, free: 50.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.4547, allocations: 93.83 kB / 466.1 MB, free: 50.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.4552, allocations: 386 kB / 466.5 MB, free: 50.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.4553, allocations: 45.05 kB / 466.6 MB, free: 50.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.4555, allocations: 229 kB / 466.8 MB, free: 49.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.4558, allocations: 391.1 kB / 467.2 MB, free: 49.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.456, allocations: 107.7 kB / 467.3 MB, free: 49.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.4561, allocations: 371.8 kB / 467.6 MB, free: 49.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003537/0.4596, allocations: 1.454 MB / 469.1 MB, free: 48.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003685/0.4633, allocations: 1.609 MB / 470.7 MB, free: 48.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006515/0.4699, allocations: 2.668 MB / 473.4 MB, free: 47.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.4699, allocations: 0 / 473.4 MB, free: 47.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007606/0.4775, allocations: 3.057 MB / 476.4 MB, free: 45.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.4776, allocations: 6.562 kB / 476.4 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4776, allocations: 3.125 kB / 476.4 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.4776, allocations: 9.781 kB / 476.4 MB, free: 45.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/0.4804, allocations: 470.6 kB / 476.9 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.4804, allocations: 10.16 kB / 476.9 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.4825, allocations: 278.2 kB / 477.2 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.4826, allocations: 44.62 kB / 477.2 MB, free: 45.85 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.0004982/0.4831, allocations: 235.2 kB / 477.5 MB, free: 45.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.4834, allocations: 69.5 kB / 477.5 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.4836, allocations: 105.8 kB / 477.6 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.4837, allocations: 15.78 kB / 477.6 MB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.823e-05/0.4837, allocations: 7.031 kB / 477.6 MB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.4837, allocations: 6.75 kB / 477.7 MB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.4951, allocations: 5.555 MB / 483.2 MB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.82e-05/0.4952, allocations: 21.56 kB / 483.2 MB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.497, allocations: 409.2 kB / 483.6 MB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.701e-05/0.4971, allocations: 27.5 kB / 483.7 MB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.4972, allocations: 46.8 kB / 483.7 MB, free: 42.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-05/0.4973, allocations: 46.66 kB / 483.7 MB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-05/0.4973, allocations: 32.34 kB / 483.8 MB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009227/0.5066, allocations: 3.424 MB / 487.2 MB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008382/0.5075, allocations: 243.6 kB / 487.4 MB, free: 40.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.5077, allocations: 51.5 kB / 487.5 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/0.5094, allocations: 253.9 kB / 487.7 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005972/0.51, allocations: 213.1 kB / 487.9 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.5102, allocations: 55.67 kB / 488 MB, free: 40.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004911/0.5107, allocations: 273.3 kB / 488.3 MB, free: 40.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.763e-06/0.5107, allocations: 0 / 488.3 MB, free: 40.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001689/0.5124, allocations: 233.7 kB / 488.5 MB, free: 40.67 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.0002533/0.5127, allocations: 164.6 kB / 488.7 MB, free: 40.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00686/0.5195, allocations: 2.569 MB / 491.2 MB, free: 39.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.5196, allocations: 3.562 kB / 491.2 MB, free: 39.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003668/0.5232, allocations: 1.177 MB / 492.4 MB, free: 39.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.5255, allocations: 158.9 kB / 492.6 MB, free: 39.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/0.5299, allocations: 2.224 MB / 494.8 MB, free: 37.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.5305, allocations: 0.9266 MB / 495.7 MB, free: 36.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001472/0.532, allocations: 198.9 kB / 495.9 MB, free: 36.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/0.5327, allocations: 65.86 kB / 496 MB, free: 36.73 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5327, allocations: 0 / 496 MB, free: 36.73 MB / 382.1 MB Notification: Performance of Templates: time 0.03123/0.5639, allocations: 15.07 MB / 0.4991 GB, free: 30.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: