Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_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.001204/0.001204, allocations: 107.5 kB / 17.09 MB, free: 6.008 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.001266/0.001266, allocations: 199.3 kB / 18.02 MB, free: 5.094 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.432/1.432, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2167/0.2167, allocations: 43.53 MB / 314.8 MB, free: 472 kB / 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: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 75.89 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1166, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01389/0.1305, allocations: 13.49 MB / 0.5017 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.1412, allocations: 4.802 MB / 0.5064 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.1445, allocations: 91.69 kB / 0.5065 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006981/0.1515, allocations: 3.738 MB / 0.5101 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005796/0.1574, allocations: 2.198 MB / 0.5123 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.1599, allocations: 1.072 MB / 0.5133 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008446/0.1683, allocations: 6.202 MB / 0.5194 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006372/0.1747, allocations: 4.529 MB / 0.5238 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003787/0.1785, allocations: 2.044 MB / 0.5258 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004725/0.1833, allocations: 2.765 MB / 0.5285 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.185, allocations: 431.9 kB / 0.5289 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003597/0.1886, allocations: 1.447 MB / 0.5303 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2986/0.4872, allocations: 2.496 MB / 0.5328 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004471/0.4918, allocations: 2.797 MB / 0.5355 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.5065, allocations: 8.825 MB / 0.5441 GB, free: 10.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.5066, allocations: 0 / 0.5441 GB, free: 10.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5066, allocations: 0 / 0.5441 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003744/0.5069, allocations: 0 / 0.5441 GB, free: 10.71 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.02036/0.5273, allocations: 6.254 MB / 0.5502 GB, free: 8.355 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5274, allocations: 14.14 kB / 0.5502 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.5383, allocations: 2.528 MB / 0.5527 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00965/0.548, allocations: 4.126 MB / 0.5567 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.5482, allocations: 280.2 kB / 0.557 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.5494, allocations: 389.3 kB / 0.5574 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02047/0.5698, allocations: 12.01 MB / 0.5691 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/0.57, allocations: 59.52 kB / 0.5692 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004958/0.5705, allocations: 177.6 kB / 0.5693 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002867/0.5734, allocations: 2.145 MB / 0.5714 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/0.5939, allocations: 10.37 MB / 0.5815 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06608/0.66, allocations: 47.3 MB / 0.6277 GB, free: 9.012 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/0.675, allocations: 5.836 MB / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/0.6793, allocations: 2.969 MB / 0.6363 GB, free: 72 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01601/0.6953, allocations: 8.869 MB / 0.645 GB, free: 7.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.6954, allocations: 57.41 kB / 0.645 GB, free: 7.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 6.442e-06/0.6954, allocations: 0 / 0.645 GB, free: 7.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.127/0.8224, allocations: 35 MB / 0.6792 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.8226, allocations: 201.9 kB / 0.6794 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/0.8341, allocations: 4.813 MB / 0.6841 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007869/0.8349, allocations: 65.7 kB / 0.6842 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003536/0.8385, allocations: 3.546 MB / 0.6876 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001555/0.8401, allocations: 0.971 MB / 0.6886 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003857/0.8439, allocations: 1.427 MB / 0.69 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.844, allocations: 301.1 kB / 0.6903 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004908/0.849, allocations: 3.172 MB / 0.6934 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00748/0.8564, allocations: 7.045 MB / 0.7002 GB, free: 12.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01287/0.8693, allocations: 10.94 MB / 0.7109 GB, free: 436 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/0.8695, allocations: 36 kB / 0.711 GB, free: 400 kB / 0.545 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02826/0.8977, allocations: 13.74 MB / 0.7244 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.8979, allocations: 67.94 kB / 0.7245 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002115/0.8981, allocations: 136.8 kB / 0.7246 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01324/0.9114, allocations: 4.389 MB / 0.7289 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005454/0.9169, allocations: 1.482 MB / 0.7303 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3521/1.269, allocations: 29.03 MB / 0.7587 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007094/1.276, allocations: 407.5 kB / 0.7591 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.278, allocations: 409.8 kB / 0.7594 GB, free: 202 MB / 0.5919 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.006247/1.284, allocations: 2.478 MB / 0.7619 GB, free: 201.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.285, allocations: 436.6 kB / 0.7623 GB, free: 201.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/1.304, allocations: 8.49 MB / 0.7706 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.542e-05/1.304, allocations: 12.28 kB / 0.7706 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.304, allocations: 1.094 kB / 0.7706 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/1.307, allocations: 0.9599 MB / 0.7715 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006878/1.308, allocations: 48.22 kB / 0.7716 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.31, allocations: 166.9 kB / 0.7717 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006239/1.311, allocations: 239.5 kB / 0.772 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01572/1.326, allocations: 8.493 MB / 0.7803 GB, free: 198.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008839/1.335, allocations: 8.246 MB / 0.7883 GB, free: 195.6 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002467/1.338, allocations: 2.424 MB / 0.7907 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005188/1.343, allocations: 3.032 MB / 0.7936 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of Backend: time 1.643e-06/1.343, allocations: 0 / 0.7936 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01356/1.356, allocations: 6.588 MB / 0.8001 GB, free: 191.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01796/1.374, allocations: 11.93 MB / 0.8117 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.134/1.508, allocations: 76.59 MB / 0.8865 GB, free: 103.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)