Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 204.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2608/0.2608, allocations: 46.96 MB / 361.6 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 67.89 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3587, allocations: 66.03 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01587/0.3746, allocations: 11.66 MB / 0.5732 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.3862, allocations: 4.599 MB / 0.5777 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.3889, allocations: 111.4 kB / 0.5778 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007721/0.3966, allocations: 3.637 MB / 0.5813 GB, free: 124 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006943/0.4035, allocations: 2.222 MB / 0.5835 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.4068, allocations: 1.084 MB / 0.5846 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01172/0.4185, allocations: 6.671 MB / 0.5911 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00592/0.4245, allocations: 3.551 MB / 0.5946 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004283/0.4288, allocations: 2.052 MB / 0.5966 GB, free: 456 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005351/0.4341, allocations: 2.96 MB / 0.5995 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.4358, allocations: 432 kB / 0.5999 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.4392, allocations: 1.361 MB / 0.6012 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003302/0.4425, allocations: 2.52 MB / 0.6037 GB, free: 9.164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003712/0.4463, allocations: 2.074 MB / 0.6057 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.4581, allocations: 8.829 MB / 0.6143 GB, free: 14.21 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4581, allocations: 0 / 0.6143 GB, free: 14.21 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4581, allocations: 0 / 0.6143 GB, free: 14.21 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002632/0.4584, allocations: 0 / 0.6143 GB, free: 14.21 MB / 462.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.01581/0.4742, allocations: 6.326 MB / 0.6205 GB, free: 7.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4742, allocations: 8.031 kB / 0.6205 GB, free: 7.812 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.4858, allocations: 2.556 MB / 0.623 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.4964, allocations: 3.894 MB / 0.6268 GB, free: 1.293 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003284/0.4968, allocations: 283.7 kB / 0.6271 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/0.4984, allocations: 387.7 kB / 0.6274 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02442/0.5228, allocations: 12.05 MB / 0.6392 GB, free: 3.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001953/0.523, allocations: 63.52 kB / 0.6393 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006254/0.5237, allocations: 175.9 kB / 0.6394 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003593/0.5272, allocations: 2.143 MB / 0.6415 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02297/0.5502, allocations: 10.33 MB / 0.6516 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06682/0.617, allocations: 43.62 MB / 0.6942 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/0.6321, allocations: 5.166 MB / 0.6992 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003966/0.636, allocations: 2.689 MB / 0.7019 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01609/0.6521, allocations: 7.757 MB / 0.7094 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/0.6522, allocations: 51.88 kB / 0.7095 GB, free: 10.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 6.482e-06/0.6522, allocations: 0 / 0.7095 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.4359/1.088, allocations: 35.07 MB / 0.7437 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/1.088, allocations: 211.3 kB / 0.7439 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008677/1.097, allocations: 4.438 MB / 0.7483 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006998/1.098, allocations: 65.52 kB / 0.7483 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00273/1.1, allocations: 3.69 MB / 0.7519 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/1.102, allocations: 1.022 MB / 0.7529 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003553/1.105, allocations: 1.429 MB / 0.7543 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/1.105, allocations: 301.1 kB / 0.7546 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007024/1.113, allocations: 3.174 MB / 0.7577 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009863/1.122, allocations: 7.098 MB / 0.7647 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0175/1.14, allocations: 10.95 MB / 0.7754 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002539/1.14, allocations: 40 kB / 0.7754 GB, free: 126 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03943/1.18, allocations: 13.67 MB / 0.7887 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/1.18, allocations: 64 kB / 0.7888 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002396/1.18, allocations: 132.8 kB / 0.7889 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/1.196, allocations: 4.388 MB / 0.7932 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006734/1.203, allocations: 1.482 MB / 0.7947 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04502/1.248, allocations: 28.29 MB / 0.8223 GB, free: 77.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006709/1.255, allocations: 415.5 kB / 0.8227 GB, free: 77.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.256, allocations: 411.8 kB / 0.8231 GB, free: 76.9 MB / 0.5606 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.004342/1.26, allocations: 2.47 MB / 0.8255 GB, free: 74.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/1.261, allocations: 413.2 kB / 0.8259 GB, free: 74.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/1.277, allocations: 8.38 MB / 0.8341 GB, free: 65.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.41e-05/1.277, allocations: 15.95 kB / 0.8341 GB, free: 65.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/1.277, allocations: 0 / 0.8341 GB, free: 65.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.278, allocations: 377.1 kB / 0.8344 GB, free: 65.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008344/1.279, allocations: 40 kB / 0.8345 GB, free: 65.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/1.281, allocations: 179.5 kB / 0.8346 GB, free: 65.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005736/1.282, allocations: 245.4 kB / 0.8349 GB, free: 64.77 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01491/1.296, allocations: 8.461 MB / 0.8431 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008545/1.305, allocations: 8.223 MB / 0.8512 GB, free: 48.07 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002307/1.307, allocations: 2.327 MB / 0.8534 GB, free: 45.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003222/1.311, allocations: 2.617 MB / 0.856 GB, free: 43.12 MB / 0.5606 GB Notification: Performance of Backend: time 5.71e-07/1.311, allocations: 0 / 0.856 GB, free: 43.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01168/1.322, allocations: 6.264 MB / 0.8621 GB, free: 36.87 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01895/1.341, allocations: 12.07 MB / 0.8739 GB, free: 24.74 MB / 0.5606 GB Notification: Performance of Templates: time 0.1298/1.471, allocations: 80.92 MB / 0.9529 GB, free: 8.344 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 24.57017274499958] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 1.4818805410031928 1.495919767 1.034343231 Calling exit ...