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.0007382/0.0007382, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0007737/0.0007738, allocations: 172.7 kB / 15.95 MB, free: 208 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.194/1.194, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2566/0.2566, allocations: 38.04 MB / 308.4 MB, free: 10.3 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.0005147/0.0005148, allocations: 12 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08383, allocations: 57.52 MB / 433.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.00201/0.08588, allocations: 1.967 MB / 435.9 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.08726, allocations: 0.9487 MB / 436.9 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.08746, allocations: 11.88 kB / 436.9 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.08775, allocations: 95.5 kB / 437 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.08794, allocations: 75.58 kB / 437 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.08846, allocations: 219.6 kB / 437.3 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000574/0.08905, allocations: 0.6274 MB / 437.9 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.0892, allocations: 69.48 kB / 438 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.08952, allocations: 259.1 kB / 438.2 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.08986, allocations: 298.8 kB / 438.5 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.246e-05/0.08994, allocations: 32 kB / 438.5 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.464e-05/0.09001, allocations: 32 kB / 438.6 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.09017, allocations: 147.6 kB / 438.7 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.09026, allocations: 97.45 kB / 438.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.09056, allocations: 379 kB / 439.2 MB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.09057, allocations: 0 / 439.2 MB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.09058, allocations: 0 / 439.2 MB, free: 296 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.0906, allocations: 3.938 kB / 439.2 MB, free: 292 kB / 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.001831/0.09243, allocations: 0.9353 MB / 440.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.09247, allocations: 8.031 kB / 440.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.09259, allocations: 67.34 kB / 440.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.09301, allocations: 358.1 kB / 440.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.09333, allocations: 279.1 kB / 440.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.09343, allocations: 47.89 kB / 440.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.09521, allocations: 0.8633 MB / 441.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.09524, allocations: 0 / 441.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.09529, allocations: 19.95 kB / 441.7 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.09531, allocations: 12 kB / 441.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/0.09842, allocations: 1.325 MB / 443.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.1009, allocations: 2.07 MB / 445.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.1035, allocations: 0.8988 MB / 446 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.1048, allocations: 0.5414 MB / 446.6 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.563e-05/0.1049, allocations: 11.98 kB / 446.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.105, allocations: 50.39 kB / 446.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 1.783e-06/0.105, allocations: 0 / 446.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.2273/0.3323, allocations: 18.22 MB / 464.9 MB, free: 50.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3324, allocations: 87.67 kB / 465 MB, free: 50.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.3327, allocations: 395.5 kB / 465.3 MB, free: 50.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.3329, allocations: 48.02 kB / 465.4 MB, free: 50.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.333, allocations: 217.8 kB / 465.6 MB, free: 49.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.3333, allocations: 394.7 kB / 466 MB, free: 49.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3334, allocations: 26.41 kB / 466 MB, free: 49.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.3335, allocations: 376.7 kB / 466.4 MB, free: 49.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/0.3364, allocations: 1.447 MB / 467.8 MB, free: 48.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/0.3394, allocations: 1.602 MB / 469.4 MB, free: 48.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.3422, allocations: 1.308 MB / 470.7 MB, free: 47.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3422, allocations: 2.938 kB / 470.7 MB, free: 47.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.006155/0.3483, allocations: 3.042 MB / 473.8 MB, free: 46.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3484, allocations: 10.56 kB / 473.8 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3484, allocations: 10.66 kB / 473.8 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/0.3484, allocations: 9.469 kB / 473.8 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/0.3507, allocations: 472.8 kB / 474.3 MB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/0.3508, allocations: 6.594 kB / 474.3 MB, free: 46.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.3524, allocations: 288.2 kB / 474.6 MB, free: 46.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.3526, allocations: 39.66 kB / 474.6 MB, free: 46.43 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.000396/0.353, allocations: 229.2 kB / 474.8 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.3532, allocations: 66.11 kB / 474.9 MB, free: 46.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.3535, allocations: 116.5 kB / 475 MB, free: 46.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.3535, allocations: 13.72 kB / 475 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.3535, allocations: 3.094 kB / 475 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3535, allocations: 6.797 kB / 475 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009429/0.3629, allocations: 5.538 MB / 480.6 MB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/0.363, allocations: 24.05 kB / 480.6 MB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.3643, allocations: 416.8 kB / 481 MB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.511e-05/0.3644, allocations: 30.66 kB / 481 MB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.831e-05/0.3645, allocations: 45.72 kB / 481.1 MB, free: 43.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.242e-05/0.3645, allocations: 42.84 kB / 481.1 MB, free: 43.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-05/0.3645, allocations: 36.03 kB / 481.1 MB, free: 43.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006094/0.3706, allocations: 3.412 MB / 484.6 MB, free: 41.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.371, allocations: 239.3 kB / 484.8 MB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.3711, allocations: 53.8 kB / 484.8 MB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.3724, allocations: 253.8 kB / 485.1 MB, free: 41.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.3728, allocations: 240.8 kB / 485.3 MB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.3729, allocations: 55.66 kB / 485.4 MB, free: 41.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.3731, allocations: 259.3 kB / 485.6 MB, free: 41.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3731, allocations: 4.594 kB / 485.6 MB, free: 41.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001038/0.3742, allocations: 228.5 kB / 485.9 MB, free: 41.27 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.0002022/0.3744, allocations: 165.4 kB / 486 MB, free: 41.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005589/0.38, allocations: 2.559 MB / 488.6 MB, free: 40.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/0.38, allocations: 3.812 kB / 488.6 MB, free: 40.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003061/0.3831, allocations: 1.175 MB / 489.8 MB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.3844, allocations: 148.9 kB / 489.9 MB, free: 39.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.3876, allocations: 2.162 MB / 492.1 MB, free: 38.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.388, allocations: 0.9201 MB / 493 MB, free: 37.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001215/0.3893, allocations: 204.6 kB / 493.2 MB, free: 37.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.3898, allocations: 67.2 kB / 493.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3898, allocations: 1.031 kB / 493.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of Templates: time 0.02258/0.4124, allocations: 14.66 MB / 0.496 GB, free: 32.94 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: