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.001148/0.001148, allocations: 99.55 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.001499/0.001499, 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.908/1.908, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.3738/0.3738, allocations: 38.03 MB / 308.4 MB, free: 10.46 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.00103/0.001031, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1255, allocations: 57.53 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003875/0.1294, allocations: 1.951 MB / 435.9 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1313, allocations: 0.9449 MB / 436.8 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003857/0.1318, allocations: 7.938 kB / 436.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.1322, allocations: 87.52 kB / 436.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.1326, allocations: 83.72 kB / 437 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000794/0.1334, allocations: 219.6 kB / 437.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009247/0.1344, allocations: 435 kB / 437.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.1346, allocations: 65.5 kB / 437.7 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/0.135, allocations: 255.2 kB / 438 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/0.1354, allocations: 298.8 kB / 438.2 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1355, allocations: 32 kB / 438.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.1356, allocations: 32 kB / 438.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.1358, allocations: 147.5 kB / 438.4 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.136, allocations: 93.45 kB / 438.5 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.1364, allocations: 387 kB / 438.9 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1364, allocations: 0 / 438.9 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1364, allocations: 4 kB / 438.9 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.1365, allocations: 0 / 438.9 MB, free: 0.5312 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.002494/0.139, allocations: 0.9275 MB / 439.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.139, allocations: 12.03 kB / 439.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.1392, allocations: 63.34 kB / 439.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008064/0.1401, allocations: 366.1 kB / 440.3 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004539/0.1405, allocations: 275.1 kB / 440.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.1407, allocations: 47.91 kB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.1431, allocations: 0.8555 MB / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.1431, allocations: 4 kB / 441.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.1432, allocations: 19.95 kB / 441.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.1433, allocations: 12 kB / 441.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003987/0.1473, allocations: 1.321 MB / 442.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/0.1504, allocations: 2.078 MB / 444.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.1537, allocations: 0.895 MB / 445.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-05/0.1538, allocations: 9.062 kB / 445.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.1538, allocations: 46.5 kB / 445.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 3.908e-06/0.1538, allocations: 0 / 445.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.3107/0.4646, allocations: 18.22 MB / 464.1 MB, free: 50.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.4647, allocations: 98.33 kB / 464.2 MB, free: 50.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.4651, allocations: 384.5 kB / 464.5 MB, free: 50.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.4653, allocations: 44.86 kB / 464.6 MB, free: 50.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.4654, allocations: 219.7 kB / 464.8 MB, free: 50.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.4658, allocations: 401.7 kB / 465.2 MB, free: 49.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.4659, allocations: 26.5 kB / 465.2 MB, free: 49.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.466, allocations: 373.5 kB / 465.6 MB, free: 49.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/0.4693, allocations: 1.449 MB / 467 MB, free: 49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/0.4729, allocations: 1.601 MB / 468.6 MB, free: 48.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/0.4761, allocations: 1.307 MB / 469.9 MB, free: 47.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4761, allocations: 3.125 kB / 469.9 MB, free: 47.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.01003/0.4861, allocations: 3.05 MB / 473 MB, free: 46.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.4862, allocations: 8.656 kB / 473 MB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.4862, allocations: 6.188 kB / 473 MB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.386e-05/0.4863, allocations: 9.688 kB / 473 MB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/0.4899, allocations: 466.3 kB / 473.5 MB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.054e-05/0.49, allocations: 9.531 kB / 473.5 MB, free: 46.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.4927, allocations: 280.6 kB / 473.7 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/0.4929, allocations: 44.23 kB / 473.8 MB, free: 46.7 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.0006853/0.4936, allocations: 237.2 kB / 474 MB, free: 46.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.494, allocations: 59.88 kB / 474.1 MB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.4943, allocations: 109.4 kB / 474.2 MB, free: 46.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.4943, allocations: 13.73 kB / 474.2 MB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-05/0.4943, allocations: 3.062 kB / 474.2 MB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.4944, allocations: 6.609 kB / 474.2 MB, free: 46.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.51, allocations: 5.547 MB / 479.8 MB, free: 43.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.276e-05/0.5101, allocations: 24.34 kB / 479.8 MB, free: 43.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.5117, allocations: 414.4 kB / 480.2 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.235e-05/0.5117, allocations: 30.5 kB / 480.2 MB, free: 43.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.5119, allocations: 47.03 kB / 480.3 MB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.652e-05/0.5119, allocations: 46.3 kB / 480.3 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-05/0.512, allocations: 29.69 kB / 480.3 MB, free: 43.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008289/0.5203, allocations: 4.501 MB / 484.8 MB, free: 40.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005837/0.5209, allocations: 239 kB / 485.1 MB, free: 40.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.5211, allocations: 54.88 kB / 485.1 MB, free: 40.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.5227, allocations: 250.4 kB / 485.4 MB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005045/0.5232, allocations: 233 kB / 485.6 MB, free: 40.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/0.5234, allocations: 57.44 kB / 485.6 MB, free: 40.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003919/0.5238, allocations: 262.6 kB / 485.9 MB, free: 39.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.452e-06/0.5238, allocations: 0 / 485.9 MB, free: 39.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001517/0.5253, allocations: 233.3 kB / 486.1 MB, free: 39.89 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.0003004/0.5256, allocations: 162.7 kB / 486.3 MB, free: 39.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006704/0.5323, allocations: 2.564 MB / 488.9 MB, free: 38.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/0.5324, allocations: 6.875 kB / 488.9 MB, free: 38.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003612/0.536, allocations: 1.171 MB / 490 MB, free: 38.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.5371, allocations: 134 kB / 490.2 MB, free: 38.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.5416, allocations: 2.149 MB / 492.3 MB, free: 36.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.5422, allocations: 0.9376 MB / 493.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001387/0.5436, allocations: 202.6 kB / 493.4 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/0.5443, allocations: 64.69 kB / 493.5 MB, free: 36.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5443, allocations: 0 / 493.5 MB, free: 36.03 MB / 382.1 MB Notification: Performance of Templates: time 0.03024/0.5745, allocations: 14.62 MB / 0.4962 GB, free: 31.97 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: