Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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 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 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 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 105.1 kB / 17.09 MB, free: 5.965 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.001418/0.001418, allocations: 195.4 kB / 18.02 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2113/0.2113, allocations: 43.53 MB / 314.8 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 69.45 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1205, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01775/0.1383, allocations: 15.12 MB / 0.5033 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.1506, allocations: 4.823 MB / 0.508 GB, free: 7.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003495/0.1541, allocations: 95.75 kB / 0.5081 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006654/0.1608, allocations: 3.165 MB / 0.5112 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007659/0.1685, allocations: 2.552 MB / 0.5137 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.1712, allocations: 0.9866 MB / 0.5146 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009947/0.1811, allocations: 6.655 MB / 0.5211 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006932/0.1881, allocations: 4.381 MB / 0.5254 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004707/0.1928, allocations: 2.242 MB / 0.5276 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0057/0.1986, allocations: 3.26 MB / 0.5308 GB, free: 324 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2865/0.4851, allocations: 486 kB / 0.5313 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004878/0.49, allocations: 1.494 MB / 0.5327 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004562/0.4946, allocations: 2.898 MB / 0.5355 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006549/0.5011, allocations: 3.258 MB / 0.5387 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.5187, allocations: 10.46 MB / 0.5489 GB, free: 9.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5188, allocations: 1.062 kB / 0.5489 GB, free: 9.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5188, allocations: 0 / 0.5489 GB, free: 9.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004749/0.5193, allocations: 0 / 0.5489 GB, free: 9.504 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02421/0.5435, allocations: 7.325 MB / 0.5561 GB, free: 6.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5436, allocations: 13.48 kB / 0.5561 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/0.5601, allocations: 3.927 MB / 0.5599 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009906/0.57, allocations: 4.286 MB / 0.5641 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.5703, allocations: 319.6 kB / 0.5644 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/0.572, allocations: 431 kB / 0.5648 GB, free: 3.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02886/0.6009, allocations: 15.74 MB / 0.5802 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002715/0.6012, allocations: 57.5 kB / 0.5803 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/0.6023, allocations: 201.3 kB / 0.5805 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005059/0.6074, allocations: 3.224 MB / 0.5836 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0276/0.635, allocations: 14.16 MB / 0.5974 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07886/0.7139, allocations: 57.51 MB / 0.6536 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/0.7281, allocations: 6.599 MB / 0.66 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005074/0.7332, allocations: 3.757 MB / 0.6637 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02464/0.7579, allocations: 14.78 MB / 0.6781 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.758, allocations: 63.59 kB / 0.6782 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=292): time 5.821e-06/0.758, allocations: 4 kB / 0.6782 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=342): time 0.1531/0.9111, allocations: 42.55 MB / 0.7198 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.9113, allocations: 218 kB / 0.72 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01321/0.9245, allocations: 5.497 MB / 0.7253 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/0.9258, allocations: 73.7 kB / 0.7254 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004218/0.9301, allocations: 4.345 MB / 0.7297 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0025/0.9326, allocations: 1.264 MB / 0.7309 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009176/0.9418, allocations: 1.851 MB / 0.7327 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.942, allocations: 309.1 kB / 0.733 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008899/0.9509, allocations: 4.839 MB / 0.7377 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01315/0.9641, allocations: 9.824 MB / 0.7473 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3516/1.316, allocations: 15.62 MB / 0.7626 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002185/1.316, allocations: 49.88 kB / 0.7626 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04942/1.365, allocations: 19.6 MB / 0.7818 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.366, allocations: 80.38 kB / 0.7818 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002012/1.366, allocations: 172.7 kB / 0.782 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02082/1.387, allocations: 5.943 MB / 0.7878 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008588/1.395, allocations: 2.125 MB / 0.7899 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03206/1.427, allocations: 26.16 MB / 0.8154 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009544/1.437, allocations: 0.5547 MB / 0.816 GB, free: 171.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002262/1.439, allocations: 0.5107 MB / 0.8165 GB, free: 170.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1099): * Single equations (assignments): 1091 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008222/1.447, allocations: 3.101 MB / 0.8195 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/1.449, allocations: 498.8 kB / 0.82 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03199/1.481, allocations: 13.01 MB / 0.8327 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-05/1.481, allocations: 15.95 kB / 0.8327 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.482, allocations: 4 kB / 0.8327 GB, free: 154.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004181/1.486, allocations: 1.309 MB / 0.834 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002366/1.488, allocations: 53.8 kB / 0.834 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004706/1.493, allocations: 262.5 kB / 0.8343 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001382/1.494, allocations: 205.7 kB / 0.8345 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02161/1.516, allocations: 10.53 MB / 0.8448 GB, free: 142.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01631/1.532, allocations: 12.98 MB / 0.8574 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003941/1.536, allocations: 3.674 MB / 0.861 GB, free: 125.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006946/1.543, allocations: 3.418 MB / 0.8644 GB, free: 122.1 MB / 0.5919 GB Notification: Performance of Backend: time 5.21e-07/1.543, allocations: 0 / 0.8644 GB, free: 122.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01725/1.56, allocations: 8.002 MB / 0.8722 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02537/1.586, allocations: 13.41 MB / 0.8853 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1388/1.725, allocations: 92.94 MB / 0.976 GB, free: 7.73 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches