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.0009328/0.000933, allocations: 94.81 kB / 17 MB, free: 6.418 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.001002/0.001002, allocations: 190.9 kB / 17.89 MB, free: 5.945 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.59/1.59, allocations: 223.3 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2161/0.2161, allocations: 44.26 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 10.41 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.378/0.5212, allocations: 56.52 MB / 0.5157 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03401/0.5553, allocations: 12.31 MB / 0.5278 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01632/0.5717, allocations: 277.9 kB / 0.528 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01216/0.5839, allocations: 2.944 MB / 0.5309 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02897/0.6129, allocations: 8.706 MB / 0.5394 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005394/0.6183, allocations: 0.909 MB / 0.5403 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08182/0.7002, allocations: 62.32 MB / 0.6011 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009587/0.7098, allocations: 5.561 MB / 0.6066 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.7138, allocations: 1.642 MB / 0.6082 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004555/0.7184, allocations: 2.543 MB / 0.6107 GB, free: 6.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000756/0.7192, allocations: 172 kB / 0.6108 GB, free: 6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.7223, allocations: 1.096 MB / 0.6119 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.7246, allocations: 2.151 MB / 0.614 GB, free: 2.746 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.7259, allocations: 1.014 MB / 0.615 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008302/0.7342, allocations: 6.765 MB / 0.6216 GB, free: 10.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.7342, allocations: 7.828 kB / 0.6216 GB, free: 10.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7342, allocations: 0 / 0.6216 GB, free: 10.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002762/0.7345, allocations: 0 / 0.6216 GB, free: 10.93 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.01564/0.7502, allocations: 5.223 MB / 0.6267 GB, free: 5.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.7502, allocations: 8.562 kB / 0.6267 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.7615, allocations: 2.582 MB / 0.6292 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00933/0.7709, allocations: 3.852 MB / 0.633 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/0.7712, allocations: 283.3 kB / 0.6333 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.7725, allocations: 387.6 kB / 0.6336 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.7945, allocations: 11.99 MB / 0.6454 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001738/0.7947, allocations: 59.42 kB / 0.6454 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004827/0.7952, allocations: 179.8 kB / 0.6456 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003145/0.7983, allocations: 2.14 MB / 0.6477 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.8188, allocations: 10.34 MB / 0.6578 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06466/0.8835, allocations: 47.49 MB / 0.7042 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2675/1.151, allocations: 5.81 MB / 0.7098 GB, free: 193.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004012/1.155, allocations: 2.978 MB / 0.7127 GB, free: 192.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/1.169, allocations: 8.873 MB / 0.7214 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/1.169, allocations: 56.59 kB / 0.7215 GB, free: 188.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=206): time 4.488e-06/1.169, allocations: 0 / 0.7215 GB, free: 188.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.1008/1.27, allocations: 35.03 MB / 0.7557 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/1.27, allocations: 209.9 kB / 0.7559 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006144/1.276, allocations: 4.741 MB / 0.7605 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007063/1.277, allocations: 61.7 kB / 0.7605 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001959/1.279, allocations: 3.549 MB / 0.764 GB, free: 158 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/1.28, allocations: 0.9694 MB / 0.765 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/1.28, allocations: 140 kB / 0.7651 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002911/1.28, allocations: 0.5996 MB / 0.7657 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/1.284, allocations: 3.149 MB / 0.7688 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005168/1.289, allocations: 7.011 MB / 0.7756 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005451/1.295, allocations: 4.594 MB / 0.7801 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.198e-05/1.295, allocations: 40 kB / 0.7801 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0226/1.318, allocations: 13.7 MB / 0.7935 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-05/1.318, allocations: 60 kB / 0.7936 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/1.318, allocations: 136 kB / 0.7937 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/1.328, allocations: 4.405 MB / 0.798 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/1.332, allocations: 1.485 MB / 0.7994 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02935/1.362, allocations: 26.83 MB / 0.8256 GB, free: 92.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00582/1.368, allocations: 415.3 kB / 0.826 GB, free: 92.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.369, allocations: 408 kB / 0.8264 GB, free: 91.82 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.004116/1.373, allocations: 2.482 MB / 0.8288 GB, free: 89.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.374, allocations: 438.4 kB / 0.8293 GB, free: 88.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.388, allocations: 8.465 MB / 0.8375 GB, free: 80.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.156e-05/1.388, allocations: 24 kB / 0.8376 GB, free: 80.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-05/1.388, allocations: 16 kB / 0.8376 GB, free: 80.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.006e-05/1.388, allocations: 11.95 kB / 0.8376 GB, free: 80.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02724/1.415, allocations: 17.04 MB / 0.8542 GB, free: 63.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.561e-05/1.415, allocations: 4 kB / 0.8542 GB, free: 63.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.417, allocations: 303.5 kB / 0.8545 GB, free: 62.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009515/1.426, allocations: 4.109 MB / 0.8585 GB, free: 58.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005117/1.427, allocations: 48.78 kB / 0.8586 GB, free: 58.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02836/1.455, allocations: 25.62 MB / 0.8836 GB, free: 32.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.455, allocations: 11.94 kB / 0.8836 GB, free: 32.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/1.474, allocations: 12.39 MB / 0.8957 GB, free: 20.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/1.476, allocations: 495.3 kB / 0.8962 GB, free: 19.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000912/1.477, allocations: 55.97 kB / 0.8962 GB, free: 19.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/1.479, allocations: 181 kB / 0.8964 GB, free: 19.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007726/1.48, allocations: 190 kB / 0.8966 GB, free: 19.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.48, allocations: 69.02 kB / 0.8967 GB, free: 19.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004005/1.484, allocations: 2.986 MB / 0.8996 GB, free: 16.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.484, allocations: 0 / 0.8996 GB, free: 16.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006834/1.491, allocations: 1.462 MB / 0.901 GB, free: 14.71 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006308/1.492, allocations: 193.9 kB / 0.9012 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.3075/1.799, allocations: 8.371 MB / 0.9094 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.799, allocations: 4.094 kB / 0.9094 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006752/1.806, allocations: 3.556 MB / 0.9128 GB, free: 180 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005765/1.812, allocations: 0.5564 MB / 0.9134 GB, free: 180 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/1.84, allocations: 14.45 MB / 0.9275 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005374/1.846, allocations: 3.921 MB / 0.9313 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005987/1.852, allocations: 1.998 MB / 0.9333 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/1.853, allocations: 281.8 kB / 0.9335 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of SimCode: time 2.184e-06/1.853, allocations: 0 / 0.9335 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1019/1.955, allocations: 66.95 MB / 0.9989 GB, free: 112.2 MB / 0.5294 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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches