Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 110.5 kB / 18.46 MB, free: 4.598 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.001609/0.001609, allocations: 187.2 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.417/1.417, 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.2224/0.2224, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 55.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4111, allocations: 60.82 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01396/0.4251, allocations: 12.05 MB / 0.5313 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.4367, allocations: 4.301 MB / 0.5355 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004302/0.441, allocations: 77.47 kB / 0.5356 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006466/0.4475, allocations: 2.743 MB / 0.5383 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007834/0.4554, allocations: 2.064 MB / 0.5403 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.4582, allocations: 0.908 MB / 0.5412 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009862/0.4681, allocations: 5.582 MB / 0.5466 GB, free: 292 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004461/0.4726, allocations: 3.358 MB / 0.5499 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.4758, allocations: 1.721 MB / 0.5516 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003331/0.4792, allocations: 2.52 MB / 0.5541 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008982/0.4801, allocations: 384 kB / 0.5544 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.4834, allocations: 1.42 MB / 0.5558 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002146/0.4855, allocations: 2.209 MB / 0.558 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002758/0.4883, allocations: 2.447 MB / 0.5604 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008878/0.4972, allocations: 7.905 MB / 0.5681 GB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.4972, allocations: 0 / 0.5681 GB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4972, allocations: 0 / 0.5681 GB, free: 10.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000256/0.4975, allocations: 4 kB / 0.5681 GB, free: 10.21 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01374/0.5112, allocations: 5.513 MB / 0.5735 GB, free: 4.625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.5113, allocations: 12.02 kB / 0.5735 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.5227, allocations: 2.475 MB / 0.5759 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009024/0.5318, allocations: 3.419 MB / 0.5792 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.532, allocations: 246.4 kB / 0.5795 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/0.533, allocations: 339.4 kB / 0.5798 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/0.5546, allocations: 10.87 MB / 0.5904 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002359/0.5548, allocations: 51.59 kB / 0.5905 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/0.5561, allocations: 151.8 kB / 0.5906 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003577/0.5597, allocations: 2.002 MB / 0.5926 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/0.5804, allocations: 9.44 MB / 0.6018 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0611/0.6415, allocations: 41.06 MB / 0.6419 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.6533, allocations: 4.258 MB / 0.646 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/0.6564, allocations: 1.928 MB / 0.6479 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0149/0.6713, allocations: 7.614 MB / 0.6553 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/0.6714, allocations: 55.56 kB / 0.6554 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=180): time 6.412e-06/0.6714, allocations: 0 / 0.6554 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=236): time 0.1764/0.8479, allocations: 40.92 MB / 0.6954 GB, free: 5.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.848, allocations: 217.8 kB / 0.6956 GB, free: 4.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007491/0.8555, allocations: 4.309 MB / 0.6998 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006718/0.8562, allocations: 57.7 kB / 0.6998 GB, free: 452 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002793/0.859, allocations: 3.172 MB / 0.7029 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.8604, allocations: 0.8752 MB / 0.7038 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003534/0.864, allocations: 1.352 MB / 0.7051 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8641, allocations: 305.1 kB / 0.7054 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005687/0.8698, allocations: 3.628 MB / 0.7089 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.296/1.166, allocations: 7.287 MB / 0.716 GB, free: 165 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/1.179, allocations: 11.63 MB / 0.7274 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001574/1.179, allocations: 40.28 kB / 0.7274 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03895/1.218, allocations: 16.2 MB / 0.7433 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.218, allocations: 62.5 kB / 0.7433 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/1.218, allocations: 133.8 kB / 0.7435 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02336/1.242, allocations: 6.216 MB / 0.7495 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005057/1.247, allocations: 1.494 MB / 0.751 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03082/1.278, allocations: 27.63 MB / 0.778 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00633/1.284, allocations: 406.8 kB / 0.7784 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/1.285, allocations: 388 kB / 0.7787 GB, free: 120.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (779): * Single equations (assignments): 774 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003621/1.289, allocations: 2.214 MB / 0.7809 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000823/1.29, allocations: 394.9 kB / 0.7813 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02772/1.317, allocations: 11.3 MB / 0.7923 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.224e-05/1.317, allocations: 15.89 kB / 0.7923 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.317, allocations: 0 / 0.7923 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.319, allocations: 445.1 kB / 0.7927 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/1.32, allocations: 39.69 kB / 0.7928 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.323, allocations: 182.9 kB / 0.7929 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005453/1.323, allocations: 177.5 kB / 0.7931 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01643/1.34, allocations: 8.768 MB / 0.8017 GB, free: 97.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009704/1.349, allocations: 9.674 MB / 0.8111 GB, free: 87.99 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002594/1.352, allocations: 2.713 MB / 0.8138 GB, free: 85.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003474/1.355, allocations: 2.705 MB / 0.8164 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of Backend: time 7.51e-07/1.356, allocations: 0 / 0.8164 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.367, allocations: 6.149 MB / 0.8224 GB, free: 76.45 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01423/1.381, allocations: 10.18 MB / 0.8324 GB, free: 66.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.1036/1.485, allocations: 74.58 MB / 0.9052 GB, free: 7.805 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches