Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009896/0.0009897, allocations: 108 kB / 18.35 MB, free: 4.812 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.000971/0.000971, allocations: 192.2 kB / 19.29 MB, free: 3.887 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.21/1.21, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 51.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0717/0.07289, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01505/0.08798, allocations: 16.01 MB / 344.7 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00743/0.09542, allocations: 5.148 MB / 349.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008209/0.09626, allocations: 115.6 kB / 350 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006825/0.1031, allocations: 4.442 MB / 354.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.107, allocations: 2.544 MB / 357 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.1087, allocations: 1.158 MB / 358.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006976/0.1157, allocations: 7.496 MB / 365.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004725/0.1204, allocations: 5.339 MB / 371 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.1227, allocations: 2.492 MB / 373.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.1261, allocations: 3.376 MB / 376.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007447/0.1268, allocations: 0.5039 MB / 377.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.1291, allocations: 1.49 MB / 378.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1221/0.2512, allocations: 2.954 MB / 381.8 MB, free: 21.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003458/0.2547, allocations: 3.367 MB / 385.2 MB, free: 20.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008309/0.263, allocations: 10.37 MB / 395.5 MB, free: 18.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.263, allocations: 0 / 395.5 MB, free: 18.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.263, allocations: 0 / 395.5 MB, free: 18.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001532/0.2632, allocations: 0.75 kB / 395.5 MB, free: 18.76 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.01347/0.2767, allocations: 7.631 MB / 403.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2767, allocations: 11.69 kB / 403.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.2903, allocations: 3.186 MB / 406.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007344/0.2976, allocations: 4.987 MB / 411.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.2978, allocations: 336.9 kB / 411.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006916/0.2985, allocations: 460.6 kB / 412.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.316, allocations: 14.57 MB / 426.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.3162, allocations: 77.14 kB / 426.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005457/0.3167, allocations: 214 kB / 427 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004851/0.3216, allocations: 2.834 MB / 429.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.3435, allocations: 13.21 MB / 443 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05962/0.4032, allocations: 58.28 MB / 0.4896 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/0.42, allocations: 7.731 MB / 0.4971 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005366/0.4254, allocations: 5.046 MB / 0.502 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01651/0.4419, allocations: 12.81 MB / 0.5146 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.442, allocations: 72.06 kB / 0.5146 GB, free: 12.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=326): time 4.92e-06/0.442, allocations: 0 / 0.5146 GB, free: 12.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=572): time 2.039/2.482, allocations: 411.5 MB / 0.9165 GB, free: 80.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/2.482, allocations: 264.2 kB / 0.9167 GB, free: 80.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006772/2.488, allocations: 5.497 MB / 0.9221 GB, free: 75.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001357/2.49, allocations: 115.5 kB / 0.9222 GB, free: 75.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/2.491, allocations: 3.94 MB / 0.9261 GB, free: 72.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002111/2.494, allocations: 2.014 MB / 0.928 GB, free: 70.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004512/2.498, allocations: 2.179 MB / 0.9301 GB, free: 68.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.303e-05/2.498, allocations: 305.1 kB / 0.9304 GB, free: 67.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01142/2.51, allocations: 11.06 MB / 0.9412 GB, free: 56.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/2.522, allocations: 15.24 MB / 0.9561 GB, free: 39.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02575/2.548, allocations: 27.45 MB / 0.9829 GB, free: 10.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-05/2.548, allocations: 40 kB / 0.983 GB, free: 10.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.4523/3, allocations: 141.1 MB / 1.121 GB, free: 24.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.884e-05/3.001, allocations: 64 kB / 1.121 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/3.001, allocations: 136 kB / 1.121 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2195/3.22, allocations: 34.7 MB / 1.155 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004872/3.225, allocations: 1.567 MB / 1.156 GB, free: 133.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3806/3.606, allocations: 203.6 MB / 1.355 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/3.618, allocations: 1.718 MB / 1.357 GB, free: 109.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/3.619, allocations: 0.534 MB / 1.357 GB, free: 109.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.004803/3.624, allocations: 3.108 MB / 1.36 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/3.625, allocations: 0.5696 MB / 1.361 GB, free: 106.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4546/4.08, allocations: 136.7 MB / 1.494 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/4.08, allocations: 33.33 kB / 1.494 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/4.08, allocations: 0 / 1.494 GB, free: 123.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006154/4.086, allocations: 3.013 MB / 1.497 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002422/4.088, allocations: 93.48 kB / 1.497 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008741/4.097, allocations: 1.48 MB / 1.499 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003296/4.101, allocations: 0.8137 MB / 1.5 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07138/4.172, allocations: 42.77 MB / 1.541 GB, free: 94.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03137/4.203, allocations: 31.33 MB / 1.572 GB, free: 62.63 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01/4.213, allocations: 11.26 MB / 1.583 GB, free: 51.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004115/4.217, allocations: 3.499 MB / 1.586 GB, free: 47.87 MB / 446.1 MB Notification: Performance of Backend: time 7.82e-07/4.217, allocations: 0 / 1.586 GB, free: 47.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.04276/4.26, allocations: 23.97 MB / 1.61 GB, free: 23.87 MB / 446.1 MB Notification: Performance of SimCode: time 0.1436/4.404, allocations: 18.9 MB / 1.628 GB, free: 132.5 MB / 446.1 MB Notification: Performance of Templates: time 0.3751/4.779, allocations: 239.3 MB / 1.862 GB, free: 79.05 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1)