Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_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.00111/0.00111, allocations: 110.4 kB / 18.45 MB, free: 4.594 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.001187/0.001187, allocations: 187.2 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 243.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 68.03 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3532, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.0139/0.3671, allocations: 13.42 MB / 0.5327 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.3779, allocations: 4.787 MB / 0.5373 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.3807, allocations: 94.62 kB / 0.5374 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007859/0.3886, allocations: 3.733 MB / 0.5411 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006597/0.3952, allocations: 2.249 MB / 0.5433 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.3979, allocations: 1.076 MB / 0.5443 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00993/0.4078, allocations: 6.519 MB / 0.5507 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006686/0.4145, allocations: 4.511 MB / 0.5551 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004115/0.4187, allocations: 2.029 MB / 0.5571 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00455/0.4233, allocations: 2.749 MB / 0.5598 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.4247, allocations: 432 kB / 0.5602 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.4283, allocations: 1.455 MB / 0.5616 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003068/0.4313, allocations: 2.494 MB / 0.564 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004288/0.4356, allocations: 2.781 MB / 0.5667 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.4467, allocations: 8.845 MB / 0.5754 GB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.4467, allocations: 3.984 kB / 0.5754 GB, free: 2.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4468, allocations: 0 / 0.5754 GB, free: 2.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003443/0.4471, allocations: 0 / 0.5754 GB, free: 2.73 MB / 430.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.01554/0.4627, allocations: 6.403 MB / 0.5816 GB, free: 12.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4627, allocations: 8.031 kB / 0.5816 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.4746, allocations: 2.556 MB / 0.5841 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009193/0.4838, allocations: 4.044 MB / 0.5881 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.484, allocations: 285.9 kB / 0.5884 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/0.4857, allocations: 391.7 kB / 0.5887 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02415/0.5098, allocations: 12.01 MB / 0.6005 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002029/0.5101, allocations: 55.52 kB / 0.6005 GB, free: 8.059 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009437/0.511, allocations: 179.9 kB / 0.6007 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003513/0.5145, allocations: 2.14 MB / 0.6028 GB, free: 5.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/0.5349, allocations: 10.37 MB / 0.6129 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06213/0.597, allocations: 47.35 MB / 0.6591 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/0.6122, allocations: 5.827 MB / 0.6648 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/0.6162, allocations: 2.982 MB / 0.6677 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/0.6311, allocations: 8.866 MB / 0.6764 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/0.6312, allocations: 63.73 kB / 0.6765 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 6.252e-06/0.6313, allocations: 0 / 0.6765 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1303/0.7615, allocations: 35.23 MB / 0.7109 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.7617, allocations: 201.9 kB / 0.7111 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008322/0.7701, allocations: 4.785 MB / 0.7157 GB, free: 316 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004501/0.7705, allocations: 61.7 kB / 0.7158 GB, free: 248 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2521/1.023, allocations: 3.673 MB / 0.7194 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/1.024, allocations: 1.018 MB / 0.7204 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002375/1.026, allocations: 1.431 MB / 0.7218 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.519e-05/1.026, allocations: 306.7 kB / 0.7221 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00469/1.031, allocations: 3.175 MB / 0.7252 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006197/1.037, allocations: 7.044 MB / 0.732 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/1.05, allocations: 10.94 MB / 0.7427 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/1.05, allocations: 38.31 kB / 0.7428 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02462/1.074, allocations: 13.77 MB / 0.7562 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-05/1.074, allocations: 63.47 kB / 0.7563 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/1.075, allocations: 135.7 kB / 0.7564 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/1.086, allocations: 4.39 MB / 0.7607 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/1.091, allocations: 1.474 MB / 0.7621 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03183/1.122, allocations: 29.05 MB / 0.7905 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005382/1.128, allocations: 414.5 kB / 0.7909 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006203/1.128, allocations: 411.8 kB / 0.7913 GB, free: 111.3 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.00296/1.131, allocations: 2.469 MB / 0.7937 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006438/1.132, allocations: 460.9 kB / 0.7941 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01843/1.151, allocations: 8.482 MB / 0.8024 GB, free: 99.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-05/1.151, allocations: 15.95 kB / 0.8024 GB, free: 99.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.151, allocations: 0 / 0.8024 GB, free: 99.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/1.152, allocations: 0.5016 MB / 0.8029 GB, free: 99.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/1.153, allocations: 39.98 kB / 0.803 GB, free: 99.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003542/1.157, allocations: 167.8 kB / 0.8031 GB, free: 99.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008656/1.158, allocations: 237.5 kB / 0.8033 GB, free: 99 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02408/1.182, allocations: 8.502 MB / 0.8117 GB, free: 90.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01365/1.195, allocations: 8.269 MB / 0.8197 GB, free: 82.21 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003688/1.199, allocations: 2.436 MB / 0.8221 GB, free: 79.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005458/1.205, allocations: 3.009 MB / 0.825 GB, free: 76.78 MB / 0.5606 GB Notification: Performance of Backend: time 9.12e-07/1.205, allocations: 0 / 0.825 GB, free: 76.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01578/1.22, allocations: 6.601 MB / 0.8315 GB, free: 70.21 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02008/1.241, allocations: 12.07 MB / 0.8433 GB, free: 58.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.1069/1.347, allocations: 75.62 MB / 0.9171 GB, free: 14.75 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1)