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.001425/0.001425, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001505, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.574/1.574, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.3431/0.3431, allocations: 39.93 MB / 309.7 MB, free: 9.262 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.001856/0.001857, allocations: 70.95 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1324, allocations: 56.89 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003764/0.1362, allocations: 2.395 MB / 436.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1382, allocations: 0.9912 MB / 437.9 MB, free: 268 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/0.1386, allocations: 7.938 kB / 437.9 MB, free: 260 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.139, allocations: 115.2 kB / 438 MB, free: 144 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.1394, allocations: 103.3 kB / 438.1 MB, free: 40 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000799/0.1402, allocations: 279.6 kB / 438.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008739/0.1411, allocations: 0.7213 MB / 439.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1413, allocations: 73.3 kB / 439.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.1417, allocations: 295 kB / 439.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.1423, allocations: 338.7 kB / 439.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.1425, allocations: 60 kB / 439.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1426, allocations: 60 kB / 439.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.1428, allocations: 191.5 kB / 440.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.1431, allocations: 238.7 kB / 440.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007498/0.1439, allocations: 0.5412 MB / 440.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.1439, allocations: 3.984 kB / 440.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1439, allocations: 0 / 440.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.624e-05/0.144, allocations: 0 / 440.9 MB, free: 13.26 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.0028/0.1468, allocations: 0.9431 MB / 441.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1468, allocations: 11.89 kB / 441.8 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.1471, allocations: 68.36 kB / 441.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/0.1477, allocations: 371.1 kB / 442.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004003/0.1481, allocations: 259.7 kB / 442.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.1482, allocations: 47.94 kB / 442.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.1503, allocations: 0.8085 MB / 443.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.1504, allocations: 4 kB / 443.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-05/0.1505, allocations: 16 kB / 443.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.1505, allocations: 12 kB / 443.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003923/0.1544, allocations: 1.2 MB / 444.6 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003179/0.1576, allocations: 2.043 MB / 446.6 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/0.1608, allocations: 0.8285 MB / 447.5 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.1625, allocations: 498.3 kB / 447.9 MB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.356e-05/0.1626, allocations: 15.98 kB / 448 MB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1626, allocations: 38.56 kB / 448 MB, free: 5.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.716e-06/0.1626, allocations: 3.938 kB / 448 MB, free: 5.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.3071/0.4697, allocations: 15.74 MB / 463.7 MB, free: 50.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.4698, allocations: 95.05 kB / 463.8 MB, free: 50.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.4703, allocations: 388.9 kB / 464.2 MB, free: 50.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.4705, allocations: 47.73 kB / 464.3 MB, free: 50.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4707, allocations: 222.1 kB / 464.5 MB, free: 50.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.471, allocations: 403.8 kB / 464.9 MB, free: 49.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005606/0.4716, allocations: 193.8 kB / 465.1 MB, free: 49.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.4717, allocations: 373.1 kB / 465.4 MB, free: 49.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/0.4751, allocations: 1.342 MB / 466.8 MB, free: 48.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003486/0.4786, allocations: 1.495 MB / 468.3 MB, free: 48.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00648/0.485, allocations: 2.445 MB / 470.7 MB, free: 47.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4851, allocations: 0 / 470.7 MB, free: 47.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007363/0.4925, allocations: 2.835 MB / 473.5 MB, free: 46.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.4925, allocations: 5.969 kB / 473.5 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4925, allocations: 3.094 kB / 473.6 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.4926, allocations: 13.25 kB / 473.6 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/0.4952, allocations: 410.5 kB / 474 MB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.4952, allocations: 9.75 kB / 474 MB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.4972, allocations: 216.2 kB / 474.2 MB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.4973, allocations: 39.73 kB / 474.2 MB, free: 46.04 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.0004378/0.4977, allocations: 235 kB / 474.5 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.498, allocations: 67.48 kB / 474.5 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.4982, allocations: 113.6 kB / 474.6 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4982, allocations: 15.41 kB / 474.6 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-05/0.4982, allocations: 0 / 474.6 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4983, allocations: 6.844 kB / 474.7 MB, free: 45.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.5085, allocations: 5.221 MB / 479.9 MB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.292e-05/0.5085, allocations: 21.88 kB / 479.9 MB, free: 43.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.51, allocations: 354.6 kB / 480.2 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.392e-05/0.51, allocations: 28.28 kB / 480.3 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.234e-05/0.5101, allocations: 50.59 kB / 480.3 MB, free: 43.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.433e-05/0.5101, allocations: 42.89 kB / 480.4 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-05/0.5102, allocations: 33.84 kB / 480.4 MB, free: 43.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007046/0.5172, allocations: 3.084 MB / 483.5 MB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.5176, allocations: 236 kB / 483.7 MB, free: 41.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.5177, allocations: 51.59 kB / 483.8 MB, free: 41.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.519, allocations: 194.7 kB / 483.9 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004753/0.5195, allocations: 221.8 kB / 484.2 MB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.682e-05/0.5196, allocations: 57.38 kB / 484.2 MB, free: 41.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000343/0.52, allocations: 263.1 kB / 484.5 MB, free: 41.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.52, allocations: 1.156 kB / 484.5 MB, free: 41.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00112/0.5211, allocations: 234.5 kB / 484.7 MB, free: 41.05 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.0002217/0.5213, allocations: 170.1 kB / 484.9 MB, free: 40.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00676/0.5281, allocations: 2.408 MB / 487.3 MB, free: 40.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-05/0.5282, allocations: 4.219 kB / 487.3 MB, free: 40.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.5318, allocations: 1.067 MB / 488.4 MB, free: 39.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.5333, allocations: 147 kB / 488.5 MB, free: 39.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.5371, allocations: 1.961 MB / 490.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.5376, allocations: 0.9236 MB / 491.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001297/0.5389, allocations: 198.5 kB / 491.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.5395, allocations: 71.95 kB / 491.6 MB, free: 37.38 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5395, allocations: 0 / 491.6 MB, free: 37.38 MB / 382.1 MB Notification: Performance of Templates: time 0.03218/0.5717, allocations: 16.66 MB / 0.4964 GB, free: 30.25 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)