Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002373/0.002378, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.442/2.442, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 101.2 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5716/0.5716, allocations: 43.55 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005418/0.0005421, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1379, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.4268/0.5647, allocations: 53.4 MB / 0.5309 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04395/0.6088, allocations: 12.85 MB / 0.5434 GB, free: 3.859 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01501/0.6238, allocations: 278.5 kB / 0.5437 GB, free: 3.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.6343, allocations: 2.665 MB / 0.5463 GB, free: 2.938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03069/0.6651, allocations: 7.701 MB / 0.5538 GB, free: 15.26 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005948/0.671, allocations: 0.907 MB / 0.5547 GB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07535/0.7465, allocations: 27.62 MB / 0.5817 GB, free: 12.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/0.7582, allocations: 5.535 MB / 0.5871 GB, free: 7.328 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.7617, allocations: 1.355 MB / 0.5884 GB, free: 5.969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003818/0.7655, allocations: 1.799 MB / 0.5902 GB, free: 4.164 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008901/0.7665, allocations: 176 kB / 0.5903 GB, free: 3.992 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.7696, allocations: 1.046 MB / 0.5913 GB, free: 2.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002991/0.7727, allocations: 2.003 MB / 0.5933 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.7743, allocations: 1.038 MB / 0.5943 GB, free: 15.89 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.7857, allocations: 6.913 MB / 0.6011 GB, free: 8.961 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7858, allocations: 0 / 0.6011 GB, free: 8.961 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7858, allocations: 0 / 0.6011 GB, free: 8.961 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002654/0.7861, allocations: 0 / 0.6011 GB, free: 8.961 MB / 426.7 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.02113/0.8072, allocations: 5.58 MB / 0.6065 GB, free: 3.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.8073, allocations: 8.562 kB / 0.6065 GB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08985/0.8972, allocations: 7.946 MB / 0.6143 GB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01622/0.9134, allocations: 4.507 MB / 0.6187 GB, free: 6.746 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004179/0.9139, allocations: 283.3 kB / 0.6189 GB, free: 6.469 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/0.916, allocations: 387.6 kB / 0.6193 GB, free: 6.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03845/0.9545, allocations: 12.05 MB / 0.6311 GB, free: 9.258 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003501/0.9549, allocations: 55.5 kB / 0.6311 GB, free: 9.203 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001779/0.9567, allocations: 175.9 kB / 0.6313 GB, free: 9.031 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00629/0.963, allocations: 2.143 MB / 0.6334 GB, free: 6.887 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03621/0.9993, allocations: 10.32 MB / 0.6435 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4463/1.446, allocations: 47.48 MB / 0.6898 GB, free: 108.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02531/1.471, allocations: 5.869 MB / 0.6956 GB, free: 107.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02248/1.494, allocations: 8.867 MB / 0.7042 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/1.494, allocations: 53.72 kB / 0.7043 GB, free: 104.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 7.654e-06/1.494, allocations: 0 / 0.7043 GB, free: 104.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.2274/1.721, allocations: 35.63 MB / 0.7391 GB, free: 94.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.721, allocations: 211.4 kB / 0.7393 GB, free: 94.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/1.732, allocations: 5.163 MB / 0.7443 GB, free: 91.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007777/1.733, allocations: 68.83 kB / 0.7444 GB, free: 91.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00302/1.736, allocations: 3.434 MB / 0.7477 GB, free: 88.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001784/1.738, allocations: 0.967 MB / 0.7487 GB, free: 87.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008008/1.739, allocations: 133 kB / 0.7488 GB, free: 87.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004095/1.739, allocations: 0.5863 MB / 0.7494 GB, free: 86.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007498/1.747, allocations: 3.008 MB / 0.7523 GB, free: 84.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.757, allocations: 6.787 MB / 0.7589 GB, free: 76.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.767, allocations: 4.432 MB / 0.7633 GB, free: 71.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/1.768, allocations: 40 kB / 0.7633 GB, free: 71.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.04195/1.809, allocations: 12.96 MB / 0.776 GB, free: 58.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.985e-05/1.81, allocations: 64 kB / 0.776 GB, free: 58.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/1.81, allocations: 136.2 kB / 0.7762 GB, free: 58.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02138/1.831, allocations: 4.245 MB / 0.7803 GB, free: 54.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008352/1.84, allocations: 1.412 MB / 0.7817 GB, free: 52.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06006/1.9, allocations: 27.41 MB / 0.8085 GB, free: 25.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008567/1.908, allocations: 404.1 kB / 0.8088 GB, free: 24.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001522/1.91, allocations: 396.7 kB / 0.8092 GB, free: 24.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (756): * Single equations (assignments): 750 * 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.006572/1.917, allocations: 2.472 MB / 0.8116 GB, free: 21.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/1.918, allocations: 446.2 kB / 0.8121 GB, free: 21.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02878/1.947, allocations: 8.226 MB / 0.8201 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.97e-05/1.947, allocations: 29.72 kB / 0.8201 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.54e-05/1.947, allocations: 12 kB / 0.8201 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.516e-05/1.947, allocations: 15.95 kB / 0.8201 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05421/2.001, allocations: 16.88 MB / 0.8366 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-05/2.001, allocations: 8 kB / 0.8366 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002851/2.004, allocations: 296.5 kB / 0.8369 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02141/2.026, allocations: 3.943 MB / 0.8408 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007052/2.026, allocations: 52 kB / 0.8408 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4181/2.444, allocations: 26.2 MB / 0.8664 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/2.445, allocations: 9.5 kB / 0.8664 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04086/2.485, allocations: 12.75 MB / 0.8789 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004329/2.49, allocations: 0.9702 MB / 0.8798 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002107/2.492, allocations: 50.47 kB / 0.8799 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005219/2.497, allocations: 173.3 kB / 0.88 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001547/2.499, allocations: 195.3 kB / 0.8802 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003584/2.499, allocations: 71.05 kB / 0.8803 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007997/2.507, allocations: 3.327 MB / 0.8835 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.41e-07/2.507, allocations: 0 / 0.8835 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009424/2.517, allocations: 1.449 MB / 0.8849 GB, free: 146.9 MB / 0.5105 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.001264/2.518, allocations: 199.4 kB / 0.8851 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02103/2.539, allocations: 8.119 MB / 0.8931 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/2.539, allocations: 3.031 kB / 0.8931 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009883/2.549, allocations: 3.513 MB / 0.8965 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005017/2.554, allocations: 0.5514 MB / 0.897 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03699/2.591, allocations: 14.9 MB / 0.9116 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01048/2.602, allocations: 4.047 MB / 0.9155 GB, free: 133 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/2.604, allocations: 338.7 kB / 0.9159 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.603e-06/2.604, allocations: 0 / 0.9159 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.2473/2.851, allocations: 135.8 MB / 1.049 GB, free: 11.19 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches