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.01138/0.01138, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001648/0.001648, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.754/1.754, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3267/0.3267, allocations: 38 MB / 307.9 MB, free: 10.06 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.001631/0.001631, allocations: 67.91 kB / 433 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3447, allocations: 56.47 MB / 489.4 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.005001/0.3498, allocations: 2.394 MB / 491.8 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.3526, allocations: 0.9872 MB / 492.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.3529, allocations: 8.594 kB / 492.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.3535, allocations: 119.7 kB / 493 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.3539, allocations: 97.47 kB / 493 MB, free: 17.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3551, allocations: 290.8 kB / 493.3 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.3562, allocations: 0.7254 MB / 494.1 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.3565, allocations: 69.14 kB / 494.1 MB, free: 16.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.357, allocations: 304.5 kB / 494.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006404/0.3577, allocations: 330.3 kB / 494.7 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.3579, allocations: 59.41 kB / 494.8 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.358, allocations: 60.41 kB / 494.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.3583, allocations: 195.2 kB / 495.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.3587, allocations: 243.4 kB / 495.3 MB, free: 16.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009436/0.3597, allocations: 0.5544 MB / 495.8 MB, free: 16.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3597, allocations: 0 / 495.8 MB, free: 16.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3597, allocations: 3.938 kB / 495.8 MB, free: 16.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.3597, allocations: 4 kB / 495.9 MB, free: 16.16 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.003865/0.3636, allocations: 0.9311 MB / 496.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3637, allocations: 13.33 kB / 496.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.3639, allocations: 66.55 kB / 496.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/0.3648, allocations: 383 kB / 497.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005336/0.3653, allocations: 263.4 kB / 497.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.3655, allocations: 40.34 kB / 497.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/0.3693, allocations: 0.8137 MB / 498.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.3693, allocations: 6.031 kB / 498.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3695, allocations: 20.09 kB / 498.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.3695, allocations: 10 kB / 498.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006859/0.3764, allocations: 1.198 MB / 499.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004666/0.3811, allocations: 2.031 MB / 0.4899 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005464/0.3866, allocations: 0.8321 MB / 0.4907 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00319/0.3898, allocations: 0.4888 MB / 0.4911 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.39, allocations: 10.08 kB / 0.4912 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.39, allocations: 50.34 kB / 0.4912 GB, free: 12.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 4.959e-06/0.3901, allocations: 0 / 0.4912 GB, free: 12.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.1108/0.5009, allocations: 15.75 MB / 0.5066 GB, free: 4.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.501, allocations: 90.2 kB / 0.5067 GB, free: 4.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.5014, allocations: 389.7 kB / 0.507 GB, free: 4.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.5016, allocations: 51.16 kB / 0.5071 GB, free: 4.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.5017, allocations: 223.5 kB / 0.5073 GB, free: 4.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.5021, allocations: 402 kB / 0.5077 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005437/0.5026, allocations: 192.6 kB / 0.5079 GB, free: 3.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.5027, allocations: 376.9 kB / 0.5082 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003908/0.5066, allocations: 1.34 MB / 0.5095 GB, free: 2.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003557/0.5102, allocations: 1.495 MB / 0.511 GB, free: 1.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006686/0.5169, allocations: 2.449 MB / 0.5134 GB, free: 14.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.517, allocations: 0 / 0.5134 GB, free: 14.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008149/0.5251, allocations: 2.826 MB / 0.5161 GB, free: 11.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.5252, allocations: 12.03 kB / 0.5162 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.5252, allocations: 7.984 kB / 0.5162 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/0.5253, allocations: 8 kB / 0.5162 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.5282, allocations: 411.4 kB / 0.5166 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.549e-05/0.5283, allocations: 11.94 kB / 0.5166 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.5305, allocations: 215.7 kB / 0.5168 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.5307, allocations: 39.98 kB / 0.5168 GB, free: 11.19 MB / 398.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.0007352/0.5314, allocations: 238 kB / 0.517 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.5317, allocations: 63.25 kB / 0.5171 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.532, allocations: 104.7 kB / 0.5172 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.532, allocations: 12 kB / 0.5172 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/0.532, allocations: 11.94 kB / 0.5172 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.532, allocations: 7.969 kB / 0.5172 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.5444, allocations: 5.231 MB / 0.5223 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.5445, allocations: 24 kB / 0.5224 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.546, allocations: 355.6 kB / 0.5227 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.611e-05/0.5461, allocations: 28 kB / 0.5227 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.246e-05/0.5462, allocations: 47.94 kB / 0.5228 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-05/0.5462, allocations: 43.84 kB / 0.5228 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-05/0.5462, allocations: 31.88 kB / 0.5229 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007599/0.5538, allocations: 3.087 MB / 0.5259 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/0.5544, allocations: 236.3 kB / 0.5261 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.5545, allocations: 51.98 kB / 0.5261 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.5559, allocations: 191.8 kB / 0.5263 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/0.5563, allocations: 219.2 kB / 0.5265 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.5564, allocations: 52 kB / 0.5266 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003159/0.5567, allocations: 271.1 kB / 0.5268 GB, free: 260 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5568, allocations: 0 / 0.5268 GB, free: 260 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001017/0.5578, allocations: 228 kB / 0.5271 GB, free: 32 kB / 398.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.0002266/0.558, allocations: 170.7 kB / 0.5272 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006891/0.5649, allocations: 2.394 MB / 0.5296 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.901e-05/0.565, allocations: 0 / 0.5296 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003542/0.5685, allocations: 1.067 MB / 0.5306 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.57, allocations: 142.3 kB / 0.5307 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.5739, allocations: 1.945 MB / 0.5326 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/0.5746, allocations: 0.9243 MB / 0.5335 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001135/0.5758, allocations: 210.1 kB / 0.5337 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.5764, allocations: 71.42 kB / 0.5338 GB, free: 8.77 MB / 414.1 MB Notification: Performance of SimCode: time 1.983e-06/0.5764, allocations: 0 / 0.5338 GB, free: 8.77 MB / 414.1 MB Notification: Performance of Templates: time 0.02897/0.6053, allocations: 16.88 MB / 0.5503 GB, free: 7.871 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.makefile (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)