Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_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.001204/0.001204, allocations: 108.9 kB / 18.45 MB, free: 4.602 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.001175/0.001175, allocations: 183 kB / 19.38 MB, free: 3.68 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.431/1.431, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2199/0.2199, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3893, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01738/0.4068, allocations: 15.04 MB / 0.5343 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.4202, allocations: 4.818 MB / 0.539 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003279/0.4235, allocations: 88.88 kB / 0.539 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007108/0.4307, allocations: 3.161 MB / 0.5421 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008234/0.439, allocations: 2.621 MB / 0.5447 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003047/0.4421, allocations: 0.9932 MB / 0.5457 GB, free: 260 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01245/0.4545, allocations: 6.976 MB / 0.5525 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006674/0.4612, allocations: 4.379 MB / 0.5567 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005532/0.4668, allocations: 2.227 MB / 0.5589 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006422/0.4733, allocations: 3.26 MB / 0.5621 GB, free: 352 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002995/0.4763, allocations: 484 kB / 0.5626 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0057/0.482, allocations: 1.502 MB / 0.564 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006204/0.4883, allocations: 2.891 MB / 0.5669 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00924/0.4976, allocations: 3.254 MB / 0.57 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.514, allocations: 10.45 MB / 0.5802 GB, free: 13.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.514, allocations: 0 / 0.5802 GB, free: 13.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.5141, allocations: 3.938 kB / 0.5802 GB, free: 13.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000434/0.5145, allocations: 0 / 0.5802 GB, free: 13.71 MB / 446.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.02369/0.5382, allocations: 7.314 MB / 0.5874 GB, free: 6.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5383, allocations: 8.031 kB / 0.5874 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01828/0.5566, allocations: 3.927 MB / 0.5912 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.5689, allocations: 4.188 MB / 0.5953 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.5693, allocations: 320.4 kB / 0.5956 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002127/0.5714, allocations: 435.6 kB / 0.596 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03213/0.6035, allocations: 15.74 MB / 0.6114 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000324/0.6039, allocations: 55.53 kB / 0.6115 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001925/0.6059, allocations: 203.8 kB / 0.6117 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005781/0.6117, allocations: 3.22 MB / 0.6148 GB, free: 9.219 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03183/0.6435, allocations: 14.16 MB / 0.6286 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09136/0.7349, allocations: 57.5 MB / 0.6848 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/0.7498, allocations: 6.594 MB / 0.6912 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005206/0.755, allocations: 3.747 MB / 0.6949 GB, free: 5.359 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02683/0.7819, allocations: 14.77 MB / 0.7093 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/0.782, allocations: 76.42 kB / 0.7094 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 8.737e-06/0.782, allocations: 0 / 0.7094 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.438/1.22, allocations: 42.48 MB / 0.7509 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/1.22, allocations: 214 kB / 0.7511 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.231, allocations: 5.463 MB / 0.7564 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008283/1.232, allocations: 73.7 kB / 0.7565 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002698/1.234, allocations: 4.352 MB / 0.7607 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.236, allocations: 1.264 MB / 0.762 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004837/1.241, allocations: 1.859 MB / 0.7638 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.725e-05/1.241, allocations: 309.1 kB / 0.7641 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006317/1.247, allocations: 4.835 MB / 0.7688 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00806/1.255, allocations: 9.826 MB / 0.7784 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/1.27, allocations: 15.62 MB / 0.7936 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001697/1.27, allocations: 48 kB / 0.7937 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04142/1.311, allocations: 19.62 MB / 0.8128 GB, free: 86.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002221/1.312, allocations: 80 kB / 0.8129 GB, free: 86.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002953/1.312, allocations: 172 kB / 0.8131 GB, free: 86.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02401/1.336, allocations: 5.948 MB / 0.8189 GB, free: 80.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008167/1.344, allocations: 2.129 MB / 0.821 GB, free: 78.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03234/1.376, allocations: 26.16 MB / 0.8465 GB, free: 51.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009811/1.386, allocations: 0.5611 MB / 0.8471 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002249/1.389, allocations: 0.5117 MB / 0.8476 GB, free: 50.6 MB / 0.5606 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.007651/1.396, allocations: 3.098 MB / 0.8506 GB, free: 47.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001834/1.398, allocations: 497.5 kB / 0.8511 GB, free: 47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03306/1.431, allocations: 13.01 MB / 0.8638 GB, free: 33.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.731e-05/1.431, allocations: 15.94 kB / 0.8638 GB, free: 33.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.431, allocations: 4 kB / 0.8638 GB, free: 33.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/1.433, allocations: 0.5258 MB / 0.8643 GB, free: 33.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002118/1.435, allocations: 47.94 kB / 0.8643 GB, free: 33.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004315/1.44, allocations: 267 kB / 0.8646 GB, free: 33.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/1.441, allocations: 209.8 kB / 0.8648 GB, free: 32.83 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02242/1.463, allocations: 10.54 MB / 0.8751 GB, free: 22.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01664/1.48, allocations: 12.98 MB / 0.8878 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004155/1.484, allocations: 3.675 MB / 0.8914 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006643/1.491, allocations: 3.398 MB / 0.8947 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of Backend: time 1.653e-06/1.491, allocations: 0 / 0.8947 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01911/1.51, allocations: 7.989 MB / 0.9025 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0323/1.542, allocations: 13.38 MB / 0.9155 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.4815/2.024, allocations: 91.93 MB / 1.005 GB, free: 159.6 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches