Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005235/0.005235, allocations: 99.66 kB / 15.73 MB, free: 6.066 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.001095/0.001095, allocations: 200.2 kB / 16.68 MB, free: 5.973 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.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.3242/0.3242, allocations: 38 MB / 307.9 MB, free: 9.992 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.001829/0.001829, allocations: 71.83 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3464, allocations: 56.46 MB / 489.4 MB, free: 19.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01233/0.3588, allocations: 13.49 MB / 0.4911 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.3697, allocations: 4.799 MB / 0.4958 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.3736, allocations: 101.6 kB / 0.4959 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007088/0.3807, allocations: 3.739 MB / 0.4996 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008447/0.3892, allocations: 2.189 MB / 0.5017 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.3924, allocations: 1.076 MB / 0.5028 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.4034, allocations: 6.207 MB / 0.5088 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006193/0.4096, allocations: 4.528 MB / 0.5133 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004447/0.4141, allocations: 2.041 MB / 0.5152 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004861/0.419, allocations: 2.766 MB / 0.5179 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.4205, allocations: 432 kB / 0.5184 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003823/0.4244, allocations: 1.443 MB / 0.5198 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003553/0.428, allocations: 2.509 MB / 0.5222 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005372/0.4334, allocations: 2.793 MB / 0.5249 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0097/0.4431, allocations: 8.826 MB / 0.5336 GB, free: 10.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.4431, allocations: 0 / 0.5336 GB, free: 10.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4431, allocations: 0 / 0.5336 GB, free: 10.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002296/0.4434, allocations: 0 / 0.5336 GB, free: 10.43 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01492/0.4583, allocations: 6.258 MB / 0.5397 GB, free: 4.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.4584, allocations: 11.89 kB / 0.5397 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.4697, allocations: 2.525 MB / 0.5422 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.4812, allocations: 4.117 MB / 0.5462 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.4815, allocations: 287.6 kB / 0.5465 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/0.4832, allocations: 395.5 kB / 0.5468 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02325/0.5065, allocations: 12 MB / 0.5585 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001596/0.5067, allocations: 63.38 kB / 0.5586 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/0.5072, allocations: 179.8 kB / 0.5588 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003215/0.5104, allocations: 2.14 MB / 0.5609 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02062/0.5311, allocations: 10.37 MB / 0.571 GB, free: 3.152 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05776/0.5889, allocations: 47.31 MB / 0.6172 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01448/0.6034, allocations: 5.815 MB / 0.6229 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003627/0.6071, allocations: 2.97 MB / 0.6258 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01564/0.6228, allocations: 8.861 MB / 0.6344 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.6228, allocations: 59.81 kB / 0.6345 GB, free: 476 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=206): time 5.601e-06/0.6229, allocations: 0 / 0.6345 GB, free: 476 kB / 0.4981 GB Notification: Performance of matching and sorting (n=262): time 0.4564/1.079, allocations: 34.99 MB / 0.6687 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.079, allocations: 205.7 kB / 0.6689 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008547/1.088, allocations: 4.797 MB / 0.6735 GB, free: 115 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007155/1.089, allocations: 69.17 kB / 0.6736 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002267/1.091, allocations: 3.553 MB / 0.6771 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/1.092, allocations: 0.9767 MB / 0.678 GB, free: 111 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001899/1.094, allocations: 1.418 MB / 0.6794 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.675e-05/1.094, allocations: 301.1 kB / 0.6797 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/1.098, allocations: 3.175 MB / 0.6828 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004756/1.103, allocations: 7.038 MB / 0.6897 GB, free: 98.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009716/1.112, allocations: 10.95 MB / 0.7004 GB, free: 86.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.704e-05/1.113, allocations: 40 kB / 0.7004 GB, free: 86.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02403/1.137, allocations: 13.75 MB / 0.7138 GB, free: 72.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/1.137, allocations: 64 kB / 0.7139 GB, free: 72.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/1.137, allocations: 136 kB / 0.714 GB, free: 72.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01203/1.149, allocations: 4.389 MB / 0.7183 GB, free: 67.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004937/1.154, allocations: 1.482 MB / 0.7198 GB, free: 66.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03389/1.188, allocations: 29.03 MB / 0.7481 GB, free: 36.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008893/1.197, allocations: 417.9 kB / 0.7485 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.198, allocations: 411.9 kB / 0.7489 GB, free: 35.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004509/1.203, allocations: 2.47 MB / 0.7513 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.204, allocations: 434.4 kB / 0.7517 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/1.219, allocations: 8.483 MB / 0.76 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.872e-05/1.219, allocations: 28 kB / 0.76 GB, free: 24.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/1.219, allocations: 12 kB / 0.76 GB, free: 24.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.214e-05/1.219, allocations: 11.95 kB / 0.7601 GB, free: 24.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03063/1.249, allocations: 16.94 MB / 0.7766 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/1.25, allocations: 4 kB / 0.7766 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/1.251, allocations: 295.6 kB / 0.7769 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01012/1.261, allocations: 3.964 MB / 0.7808 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006639/1.262, allocations: 52 kB / 0.7808 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03703/1.299, allocations: 27.78 MB / 0.8079 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/1.299, allocations: 11.94 kB / 0.8079 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02318/1.322, allocations: 12.45 MB / 0.8201 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003897/1.326, allocations: 0.96 MB / 0.821 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.327, allocations: 48 kB / 0.8211 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/1.33, allocations: 175.7 kB / 0.8213 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007866/1.331, allocations: 190.1 kB / 0.8214 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.331, allocations: 75.92 kB / 0.8215 GB, free: 8.824 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005061/1.337, allocations: 3.03 MB / 0.8245 GB, free: 5.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.11e-07/1.337, allocations: 0 / 0.8245 GB, free: 5.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008938/1.345, allocations: 1.47 MB / 0.8259 GB, free: 4.336 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008267/1.346, allocations: 193.1 kB / 0.8261 GB, free: 4.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01615/1.362, allocations: 8.464 MB / 0.8344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.363, allocations: 0.9375 kB / 0.8344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006585/1.369, allocations: 3.537 MB / 0.8378 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/1.374, allocations: 0.5767 MB / 0.8384 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3406/1.714, allocations: 12.47 MB / 0.8505 GB, free: 186 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/1.725, allocations: 3.922 MB / 0.8544 GB, free: 185.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00678/1.732, allocations: 2.003 MB / 0.8563 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.733, allocations: 281.8 kB / 0.8566 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.834e-06/1.733, allocations: 3.344 kB / 0.8566 GB, free: 185.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1141/1.847, allocations: 69.97 MB / 0.9249 GB, free: 145.5 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)