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.0008862/0.0008865, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006149/0.00615, allocations: 171 kB / 16.26 MB, free: 6.613 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.46/1.46, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.3645/0.3645, allocations: 40 MB / 310.7 MB, free: 9.949 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.0006276/0.000628, allocations: 23.98 kB / 379.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1345, allocations: 57.95 MB / 437.4 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003081/0.1376, allocations: 2.067 MB / 439.5 MB, free: 132 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1397, allocations: 0.9795 MB / 440.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.1402, allocations: 3.938 kB / 440.4 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005183/0.1407, allocations: 99.5 kB / 440.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.1412, allocations: 91.5 kB / 440.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008738/0.1421, allocations: 243.7 kB / 440.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008639/0.1429, allocations: 0.6783 MB / 441.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.1431, allocations: 73.31 kB / 441.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.1436, allocations: 263 kB / 441.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.1442, allocations: 322.6 kB / 442.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.1443, allocations: 32 kB / 442.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1444, allocations: 28 kB / 442.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.1447, allocations: 167.5 kB / 442.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.145, allocations: 248.4 kB / 442.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.1455, allocations: 0.4982 MB / 443.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1455, allocations: 4 kB / 443.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1455, allocations: 0 / 443.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.1456, allocations: 0 / 443.2 MB, free: 12.41 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.002375/0.1479, allocations: 0.9315 MB / 444.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.148, allocations: 12.03 kB / 444.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.1482, allocations: 60.38 kB / 444.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.1488, allocations: 367.2 kB / 444.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/0.1493, allocations: 279.7 kB / 444.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.1494, allocations: 55.78 kB / 444.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.1516, allocations: 0.8633 MB / 445.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.1517, allocations: 0 / 445.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.1517, allocations: 24 kB / 445.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1517, allocations: 8 kB / 445.7 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.1555, allocations: 1.325 MB / 447.1 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.1585, allocations: 2.074 MB / 449.1 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.1617, allocations: 0.9027 MB / 450 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.1634, allocations: 0.5413 MB / 450.6 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-05/0.1635, allocations: 19.97 kB / 450.6 MB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.1635, allocations: 42.56 kB / 450.6 MB, free: 4.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 3.246e-06/0.1635, allocations: 0 / 450.6 MB, free: 4.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.3213/0.4849, allocations: 18.24 MB / 468.9 MB, free: 48.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.485, allocations: 93.66 kB / 469 MB, free: 48.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.4854, allocations: 377.2 kB / 469.3 MB, free: 48.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.4855, allocations: 44.7 kB / 469.4 MB, free: 48.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4857, allocations: 225.3 kB / 469.6 MB, free: 47.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.4859, allocations: 399.2 kB / 470 MB, free: 47.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.4862, allocations: 99.78 kB / 470.1 MB, free: 47.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.4862, allocations: 373.8 kB / 470.5 MB, free: 47.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0035/0.4897, allocations: 1.456 MB / 471.9 MB, free: 46.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003515/0.4933, allocations: 1.605 MB / 473.5 MB, free: 45.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006534/0.4998, allocations: 2.67 MB / 476.2 MB, free: 44.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4998, allocations: 2.719 kB / 476.2 MB, free: 44.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007362/0.5072, allocations: 3.065 MB / 479.3 MB, free: 43.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.5073, allocations: 6.031 kB / 479.3 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5073, allocations: 3.125 kB / 479.3 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.5073, allocations: 10.09 kB / 479.3 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.51, allocations: 469 kB / 479.7 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.51, allocations: 13.25 kB / 479.8 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.5119, allocations: 272.3 kB / 480 MB, free: 43.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.5121, allocations: 42.33 kB / 480.1 MB, free: 43.71 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.0004483/0.5125, allocations: 241.3 kB / 480.3 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.5128, allocations: 73.72 kB / 480.4 MB, free: 43.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.513, allocations: 106.1 kB / 480.5 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.513, allocations: 12.28 kB / 480.5 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/0.5131, allocations: 0 / 480.5 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.5131, allocations: 9.438 kB / 480.5 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.5263, allocations: 5.555 MB / 486 MB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/0.5264, allocations: 21.66 kB / 486.1 MB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.528, allocations: 416.2 kB / 486.5 MB, free: 40.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.911e-05/0.528, allocations: 28.66 kB / 486.5 MB, free: 40.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-05/0.5282, allocations: 47.44 kB / 486.5 MB, free: 40.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.713e-05/0.5282, allocations: 45.97 kB / 486.6 MB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.437e-05/0.5282, allocations: 30.53 kB / 486.6 MB, free: 40.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008413/0.5366, allocations: 3.426 MB / 490 MB, free: 38.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006555/0.5373, allocations: 239.7 kB / 490.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.5376, allocations: 55.97 kB / 490.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.5393, allocations: 252.2 kB / 490.6 MB, free: 38.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005179/0.5398, allocations: 214.6 kB / 490.8 MB, free: 38.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.5399, allocations: 53.27 kB / 490.8 MB, free: 38.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003694/0.5403, allocations: 267.9 kB / 491.1 MB, free: 38.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5403, allocations: 0 / 491.1 MB, free: 38.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001214/0.5416, allocations: 229.7 kB / 491.3 MB, free: 38.52 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.0002704/0.5418, allocations: 166 kB / 491.5 MB, free: 38.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007255/0.5491, allocations: 2.569 MB / 494.1 MB, free: 37.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.5491, allocations: 8.125 kB / 494.1 MB, free: 37.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003863/0.553, allocations: 1.178 MB / 495.2 MB, free: 37.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.5554, allocations: 168.5 kB / 495.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/0.5596, allocations: 2.221 MB / 497.6 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.5602, allocations: 0.9274 MB / 498.6 MB, free: 34.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001461/0.5617, allocations: 195.5 kB / 498.8 MB, free: 34.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006551/0.5624, allocations: 65.55 kB / 498.8 MB, free: 34.57 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5624, allocations: 1.156 kB / 498.8 MB, free: 34.57 MB / 382.1 MB Notification: Performance of Templates: time 0.02662/0.589, allocations: 15.08 MB / 0.5018 GB, free: 24.7 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: