Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 97.33 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 205.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.7 MB / 247.5 MB, free: 9.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1983/0.1983, allocations: 46.19 MB / 345.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002689, allocations: 11.98 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 63.56 MB / 483.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.2702/0.3907, allocations: 60.38 MB / 0.5314 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02976/0.4205, allocations: 12.71 MB / 0.5438 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.013/0.4336, allocations: 278.7 kB / 0.544 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.4354, allocations: 0.5021 MB / 0.5445 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005642/0.441, allocations: 2.035 MB / 0.5465 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.4434, allocations: 0.9914 MB / 0.5475 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01004/0.4534, allocations: 9.263 MB / 0.5565 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009527/0.463, allocations: 6.285 MB / 0.5627 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.4663, allocations: 1.509 MB / 0.5641 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0041/0.4704, allocations: 2.569 MB / 0.5666 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.4716, allocations: 172 kB / 0.5668 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/0.4756, allocations: 1.264 MB / 0.568 GB, free: 348 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003555/0.4792, allocations: 2.17 MB / 0.5702 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00454/0.4838, allocations: 2.455 MB / 0.5726 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007938/0.4917, allocations: 6.734 MB / 0.5791 GB, free: 4.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4917, allocations: 4 kB / 0.5791 GB, free: 4.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4918, allocations: 0 / 0.5791 GB, free: 4.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003303/0.4921, allocations: 0 / 0.5791 GB, free: 4.934 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.01315/0.5053, allocations: 5.153 MB / 0.5842 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5053, allocations: 8.031 kB / 0.5842 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.5174, allocations: 2.579 MB / 0.5867 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008761/0.5262, allocations: 3.851 MB / 0.5905 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.5266, allocations: 283.8 kB / 0.5907 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/0.528, allocations: 383.6 kB / 0.5911 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.5519, allocations: 12.02 MB / 0.6028 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002684/0.5522, allocations: 63.44 kB / 0.6029 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/0.5534, allocations: 179.8 kB / 0.6031 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003686/0.5571, allocations: 2.147 MB / 0.6052 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02216/0.5793, allocations: 10.39 MB / 0.6153 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06084/0.6401, allocations: 47.52 MB / 0.6617 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01494/0.6551, allocations: 5.826 MB / 0.6674 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004022/0.6592, allocations: 2.98 MB / 0.6703 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01428/0.6735, allocations: 8.877 MB / 0.679 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.6736, allocations: 51.88 kB / 0.679 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=206): time 7.674e-06/0.6736, allocations: 0 / 0.679 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=262): time 0.3611/1.035, allocations: 34.98 MB / 0.7132 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/1.035, allocations: 208.3 kB / 0.7134 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009624/1.044, allocations: 4.761 MB / 0.718 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005493/1.045, allocations: 61.73 kB / 0.7181 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002262/1.047, allocations: 3.544 MB / 0.7216 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/1.048, allocations: 0.9688 MB / 0.7225 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008086/1.049, allocations: 0.6011 MB / 0.7231 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.011e-05/1.049, allocations: 312.1 kB / 0.7234 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004405/1.054, allocations: 3.173 MB / 0.7265 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005507/1.059, allocations: 7.043 MB / 0.7334 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009859/1.069, allocations: 10.95 MB / 0.7441 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.807e-05/1.069, allocations: 38.69 kB / 0.7441 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02512/1.094, allocations: 13.75 MB / 0.7575 GB, free: 151 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001955/1.095, allocations: 68.03 kB / 0.7576 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002481/1.095, allocations: 132 kB / 0.7577 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/1.107, allocations: 4.399 MB / 0.762 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/1.111, allocations: 1.485 MB / 0.7635 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03223/1.143, allocations: 26.84 MB / 0.7897 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006387/1.15, allocations: 415.3 kB / 0.7901 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.151, allocations: 411.5 kB / 0.7905 GB, free: 116.9 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 (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.004955/1.156, allocations: 2.466 MB / 0.7929 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/1.157, allocations: 434.4 kB / 0.7933 GB, free: 114 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/1.174, allocations: 8.495 MB / 0.8016 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.758e-05/1.174, allocations: 28 kB / 0.8016 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.536e-05/1.174, allocations: 15.94 kB / 0.8016 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.953e-05/1.174, allocations: 15.95 kB / 0.8016 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03227/1.207, allocations: 17.06 MB / 0.8183 GB, free: 88.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/1.207, allocations: 4 kB / 0.8183 GB, free: 88.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.208, allocations: 303.6 kB / 0.8186 GB, free: 87.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/1.219, allocations: 4.113 MB / 0.8226 GB, free: 83.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004204/1.219, allocations: 55.92 kB / 0.8227 GB, free: 83.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02995/1.249, allocations: 25.63 MB / 0.8477 GB, free: 57.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.249, allocations: 14 kB / 0.8477 GB, free: 57.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/1.269, allocations: 12.42 MB / 0.8598 GB, free: 45.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/1.27, allocations: 495.3 kB / 0.8603 GB, free: 44.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/1.272, allocations: 51.98 kB / 0.8604 GB, free: 44.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/1.274, allocations: 175.4 kB / 0.8605 GB, free: 44.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007441/1.275, allocations: 198 kB / 0.8607 GB, free: 44.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/1.275, allocations: 68 kB / 0.8608 GB, free: 44.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004848/1.28, allocations: 3.005 MB / 0.8637 GB, free: 41.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.41e-07/1.28, allocations: 480 / 0.8637 GB, free: 41.19 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007209/1.288, allocations: 1.456 MB / 0.8651 GB, free: 39.74 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 (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,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006711/1.288, allocations: 183.8 kB / 0.8653 GB, free: 39.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.301, allocations: 8.43 MB / 0.8735 GB, free: 31.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.301, allocations: 0 / 0.8735 GB, free: 31.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005307/1.306, allocations: 3.562 MB / 0.877 GB, free: 27.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007675/1.314, allocations: 0.5498 MB / 0.8776 GB, free: 26.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.336, allocations: 15.48 MB / 0.8927 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00375/1.339, allocations: 3.899 MB / 0.8965 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.341, allocations: 327.4 kB / 0.8968 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of SimCode: time 1.302e-06/1.341, allocations: 0 / 0.8968 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of Templates: time 0.398/1.739, allocations: 140.6 MB / 1.034 GB, free: 53.89 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches