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.001369/0.001369, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001658/0.001658, allocations: 192.9 kB / 16.13 MB, free: 6.699 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.516/1.516, allocations: 205.1 MB / 222 MB, free: 4.762 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.3207/0.3207, allocations: 37.99 MB / 307.3 MB, free: 10.07 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.002373/0.002373, allocations: 63.22 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1804, allocations: 56.47 MB / 431 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3432/0.5236, allocations: 62.44 MB / 493.4 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03325/0.5569, allocations: 12.94 MB / 0.4945 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01585/0.5729, allocations: 275.3 kB / 0.4948 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006832/0.5798, allocations: 3.742 MB / 0.4984 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009344/0.5891, allocations: 2.059 MB / 0.5004 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.5935, allocations: 0.9935 MB / 0.5014 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01746/0.611, allocations: 8.661 MB / 0.5099 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009282/0.6203, allocations: 4.445 MB / 0.5142 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006348/0.6267, allocations: 1.812 MB / 0.516 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006169/0.6329, allocations: 2.953 MB / 0.5189 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.6345, allocations: 295.4 kB / 0.5191 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004393/0.639, allocations: 1.396 MB / 0.5205 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003587/0.6426, allocations: 2.378 MB / 0.5228 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003824/0.6464, allocations: 2.672 MB / 0.5254 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.6571, allocations: 8.466 MB / 0.5337 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.6572, allocations: 0 / 0.5337 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6572, allocations: 0 / 0.5337 GB, free: 4.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002915/0.6575, allocations: 0 / 0.5337 GB, free: 4.047 MB / 398.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.01875/0.6762, allocations: 6.254 MB / 0.5398 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.272e-05/0.6763, allocations: 12.03 kB / 0.5398 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.6872, allocations: 2.529 MB / 0.5423 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.6974, allocations: 4.043 MB / 0.5462 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/0.6977, allocations: 283.9 kB / 0.5465 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.6989, allocations: 395.7 kB / 0.5469 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02171/0.7206, allocations: 12 MB / 0.5586 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.7208, allocations: 55.5 kB / 0.5587 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004867/0.7213, allocations: 175.9 kB / 0.5588 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003075/0.7244, allocations: 2.147 MB / 0.5609 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.7438, allocations: 10.37 MB / 0.5711 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06363/0.8075, allocations: 47.53 MB / 0.6175 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/0.8219, allocations: 5.816 MB / 0.6232 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003952/0.8259, allocations: 2.97 MB / 0.6261 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3242/1.15, allocations: 8.87 MB / 0.6347 GB, free: 145.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.203e-05/1.15, allocations: 59.38 kB / 0.6348 GB, free: 145.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 8.967e-06/1.15, allocations: 0 / 0.6348 GB, free: 145.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1219/1.272, allocations: 34.99 MB / 0.6689 GB, free: 137.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.272, allocations: 207.3 kB / 0.6691 GB, free: 137.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009497/1.282, allocations: 4.793 MB / 0.6738 GB, free: 135.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00102/1.283, allocations: 65.19 kB / 0.6739 GB, free: 135.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003502/1.286, allocations: 3.551 MB / 0.6773 GB, free: 133 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001647/1.288, allocations: 0.9701 MB / 0.6783 GB, free: 132.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002214/1.29, allocations: 1.425 MB / 0.6797 GB, free: 131.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.979e-05/1.29, allocations: 302 kB / 0.68 GB, free: 131.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/1.295, allocations: 3.18 MB / 0.6831 GB, free: 130.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006642/1.302, allocations: 7.039 MB / 0.69 GB, free: 123.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/1.317, allocations: 10.95 MB / 0.7006 GB, free: 112.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001762/1.317, allocations: 40 kB / 0.7007 GB, free: 112.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0269/1.344, allocations: 13.75 MB / 0.7141 GB, free: 99.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.873e-05/1.344, allocations: 60 kB / 0.7142 GB, free: 98.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/1.344, allocations: 141.2 kB / 0.7143 GB, free: 98.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/1.357, allocations: 4.384 MB / 0.7186 GB, free: 94.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005283/1.362, allocations: 1.482 MB / 0.72 GB, free: 92.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03142/1.393, allocations: 26.84 MB / 0.7462 GB, free: 65.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007297/1.401, allocations: 417.1 kB / 0.7466 GB, free: 65.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.402, allocations: 407.9 kB / 0.747 GB, free: 64.95 MB / 494.1 MB 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.004688/1.407, allocations: 2.474 MB / 0.7494 GB, free: 62.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/1.408, allocations: 446.3 kB / 0.7499 GB, free: 62.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/1.423, allocations: 8.478 MB / 0.7582 GB, free: 53.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.785e-05/1.423, allocations: 31.98 kB / 0.7582 GB, free: 53.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/1.423, allocations: 12 kB / 0.7582 GB, free: 53.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/1.423, allocations: 11.97 kB / 0.7582 GB, free: 53.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02858/1.452, allocations: 17.1 MB / 0.7749 GB, free: 36.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/1.452, allocations: 8 kB / 0.7749 GB, free: 36.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/1.453, allocations: 299.5 kB / 0.7752 GB, free: 35.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01017/1.464, allocations: 4.094 MB / 0.7792 GB, free: 31.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004656/1.464, allocations: 48.73 kB / 0.7792 GB, free: 31.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02855/1.493, allocations: 25.65 MB / 0.8043 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.493, allocations: 11.94 kB / 0.8043 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2955/1.788, allocations: 12.43 MB / 0.8164 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002907/1.791, allocations: 0.9594 MB / 0.8174 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/1.793, allocations: 46.5 kB / 0.8174 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/1.795, allocations: 178.8 kB / 0.8176 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007808/1.796, allocations: 189.3 kB / 0.8178 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.796, allocations: 65.44 kB / 0.8178 GB, free: 130.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00441/1.801, allocations: 3.036 MB / 0.8208 GB, free: 130 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.801, allocations: 0 / 0.8208 GB, free: 130 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008223/1.809, allocations: 1.466 MB / 0.8222 GB, free: 129.8 MB / 494.1 MB 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.001026/1.81, allocations: 198.1 kB / 0.8224 GB, free: 129.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01486/1.825, allocations: 8.416 MB / 0.8306 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/1.825, allocations: 3.188 kB / 0.8306 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006134/1.831, allocations: 3.563 MB / 0.8341 GB, free: 124.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005284/1.836, allocations: 0.5556 MB / 0.8347 GB, free: 124.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/1.865, allocations: 15.03 MB / 0.8493 GB, free: 117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006437/1.871, allocations: 3.932 MB / 0.8532 GB, free: 115.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006512/1.878, allocations: 2.002 MB / 0.8551 GB, free: 115.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.879, allocations: 282.4 kB / 0.8554 GB, free: 115.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/1.879, allocations: 0 / 0.8554 GB, free: 115.5 MB / 494.1 MB Notification: Performance of Templates: time 0.1161/1.995, allocations: 69.98 MB / 0.9237 GB, free: 63.07 MB / 494.1 MB 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)