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.001182/0.001182, allocations: 110.7 kB / 18.45 MB, free: 4.613 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.001207/0.001207, allocations: 187.1 kB / 19.39 MB, free: 3.684 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.381/1.381, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2047/0.2047, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3418, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01504/0.3569, allocations: 15.05 MB / 0.5343 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.3671, allocations: 4.819 MB / 0.539 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.3701, allocations: 95.91 kB / 0.539 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006137/0.3762, allocations: 3.157 MB / 0.5421 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007022/0.3833, allocations: 2.627 MB / 0.5447 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.3858, allocations: 0.9803 MB / 0.5457 GB, free: 288 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.3962, allocations: 6.969 MB / 0.5525 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006116/0.4023, allocations: 4.388 MB / 0.5567 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003746/0.4061, allocations: 2.223 MB / 0.5589 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005288/0.4114, allocations: 3.256 MB / 0.5621 GB, free: 392 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002231/0.4137, allocations: 492 kB / 0.5626 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/0.4195, allocations: 1.506 MB / 0.564 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005617/0.4252, allocations: 2.883 MB / 0.5669 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007174/0.4324, allocations: 3.258 MB / 0.57 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01892/0.4513, allocations: 10.5 MB / 0.5803 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4514, allocations: 0 / 0.5803 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4514, allocations: 0 / 0.5803 GB, free: 13.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000342/0.4518, allocations: 4 kB / 0.5803 GB, free: 13.68 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.02531/0.4771, allocations: 7.494 MB / 0.5876 GB, free: 6.094 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.4772, allocations: 12.03 kB / 0.5876 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/0.5049, allocations: 3.963 MB / 0.5915 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/0.5193, allocations: 4.206 MB / 0.5956 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004802/0.5199, allocations: 316.4 kB / 0.5959 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002739/0.5226, allocations: 439.6 kB / 0.5963 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04602/0.5687, allocations: 15.73 MB / 0.6117 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000307/0.569, allocations: 63.5 kB / 0.6117 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001873/0.5709, allocations: 207.8 kB / 0.6119 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007924/0.5789, allocations: 3.212 MB / 0.6151 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02916/0.6081, allocations: 14.16 MB / 0.6289 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08437/0.6925, allocations: 57.6 MB / 0.6852 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/0.7075, allocations: 6.597 MB / 0.6916 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005744/0.7133, allocations: 3.739 MB / 0.6953 GB, free: 5.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0258/0.7391, allocations: 14.8 MB / 0.7097 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.43e-05/0.7392, allocations: 64.5 kB / 0.7098 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 7.695e-06/0.7392, allocations: 0 / 0.7098 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.3803/1.12, allocations: 42.82 MB / 0.7516 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/1.12, allocations: 213.9 kB / 0.7518 GB, free: 154 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006348/1.126, allocations: 5.481 MB / 0.7571 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007788/1.127, allocations: 69.7 kB / 0.7572 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001859/1.129, allocations: 4.53 MB / 0.7616 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.13, allocations: 1.322 MB / 0.7629 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/1.132, allocations: 1.869 MB / 0.7648 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.723e-05/1.132, allocations: 305.1 kB / 0.765 GB, free: 141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005229/1.137, allocations: 4.832 MB / 0.7698 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007406/1.145, allocations: 9.834 MB / 0.7794 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/1.159, allocations: 15.62 MB / 0.7946 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.451e-05/1.159, allocations: 52 kB / 0.7947 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.03921/1.198, allocations: 19.64 MB / 0.8138 GB, free: 86.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.707e-05/1.198, allocations: 80.22 kB / 0.8139 GB, free: 86.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/1.198, allocations: 179.9 kB / 0.8141 GB, free: 85.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02235/1.221, allocations: 5.944 MB / 0.8199 GB, free: 79.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007479/1.228, allocations: 2.129 MB / 0.822 GB, free: 77.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02777/1.256, allocations: 26.15 MB / 0.8475 GB, free: 51.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00756/1.263, allocations: 0.554 MB / 0.8481 GB, free: 50.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.265, allocations: 0.5193 MB / 0.8486 GB, free: 50.24 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.004529/1.269, allocations: 3.099 MB / 0.8516 GB, free: 47.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.27, allocations: 0.5161 MB / 0.8521 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02913/1.299, allocations: 13.01 MB / 0.8648 GB, free: 33.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.289e-05/1.299, allocations: 15.94 kB / 0.8648 GB, free: 33.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.299, allocations: 0 / 0.8648 GB, free: 33.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.301, allocations: 0.5521 MB / 0.8654 GB, free: 32.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.302, allocations: 59.69 kB / 0.8654 GB, free: 32.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/1.305, allocations: 255.6 kB / 0.8657 GB, free: 32.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000716/1.306, allocations: 213.8 kB / 0.8659 GB, free: 32.42 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01954/1.325, allocations: 10.53 MB / 0.8761 GB, free: 21.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01369/1.339, allocations: 13.01 MB / 0.8889 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003664/1.343, allocations: 3.667 MB / 0.8924 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004141/1.347, allocations: 3.402 MB / 0.8958 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of Backend: time 2.81e-07/1.347, allocations: 4 kB / 0.8958 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01484/1.362, allocations: 7.996 MB / 0.9036 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02106/1.383, allocations: 13.61 MB / 0.9169 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of Templates: time 0.3935/1.776, allocations: 91.93 MB / 1.007 GB, free: 158.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