Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.227/0.227, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rotor1D1.phi|rotor1D1.w|rotor1D10.phi|rotor1D10.w|rotor1D2.phi|rotor1D2.w|rotor1D3.phi|rotor1D3.w|rotor1D4.phi|rotor1D4.w|rotor1D5.phi|rotor1D5.w|rotor1D6.phi|rotor1D6.w|rotor1D7.phi|rotor1D7.w|rotor1D8.phi|rotor1D8.w|rotor1D9.phi|rotor1D9.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01722/0.3363, allocations: 13.78 MB / 0.5753 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009013/0.3453, allocations: 3.737 MB / 0.5789 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.3476, allocations: 103.5 kB / 0.579 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006438/0.354, allocations: 3.033 MB / 0.582 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005298/0.3593, allocations: 1.824 MB / 0.5838 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3606, allocations: 451.2 kB / 0.5842 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006171/0.3667, allocations: 4.021 MB / 0.5881 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004127/0.3709, allocations: 2.583 MB / 0.5906 GB, free: 6.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.3741, allocations: 1.939 MB / 0.5925 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005168/0.3792, allocations: 3.174 MB / 0.5956 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001473/0.3807, allocations: 496 kB / 0.5961 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.384, allocations: 0.8585 MB / 0.5969 GB, free: 12 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003301/0.3873, allocations: 2.279 MB / 0.5992 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003302/0.3906, allocations: 2.094 MB / 0.6012 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.402, allocations: 8.734 MB / 0.6097 GB, free: 2.859 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.402, allocations: 0 / 0.6097 GB, free: 2.859 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.402, allocations: 0 / 0.6097 GB, free: 2.859 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003012/0.4024, allocations: 0 / 0.6097 GB, free: 2.859 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.09747/0.4998, allocations: 11.25 MB / 0.6207 GB, free: 7.531 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.4999, allocations: 12.03 kB / 0.6207 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007547/0.5074, allocations: 1.892 MB / 0.6226 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009157/0.5166, allocations: 3.317 MB / 0.6258 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.5169, allocations: 287.6 kB / 0.6261 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002163/0.519, allocations: 407.7 kB / 0.6265 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0585/0.5775, allocations: 19.55 MB / 0.6456 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002234/0.5778, allocations: 55.56 kB / 0.6456 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001853/0.5796, allocations: 183.8 kB / 0.6458 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006284/0.5859, allocations: 2.338 MB / 0.6481 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06005/0.6459, allocations: 22.35 MB / 0.6699 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07775/0.7237, allocations: 48.34 MB / 0.7171 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07793/0.8016, allocations: 8.641 MB / 0.7256 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004428/0.8061, allocations: 2.986 MB / 0.7285 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002024/0.8081, allocations: 336.8 kB / 0.7288 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.099e-05/0.8081, allocations: 51.88 kB / 0.7289 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=212): time 5.981e-06/0.8081, allocations: 0 / 0.7289 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.4119/1.22, allocations: 16.09 MB / 0.7446 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/1.22, allocations: 158.6 kB / 0.7447 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004629/1.225, allocations: 4.464 MB / 0.7491 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003145/1.225, allocations: 57.48 kB / 0.7491 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/1.226, allocations: 3.65 MB / 0.7527 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000618/1.227, allocations: 0.8787 MB / 0.7536 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/1.229, allocations: 1.548 MB / 0.7551 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.339e-05/1.229, allocations: 301.1 kB / 0.7553 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/1.232, allocations: 3.169 MB / 0.7584 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004133/1.236, allocations: 7.465 MB / 0.7657 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009185/1.245, allocations: 11.49 MB / 0.777 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/1.245, allocations: 40 kB / 0.777 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01329/1.258, allocations: 10.59 MB / 0.7873 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/1.258, allocations: 76.94 kB / 0.7874 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/1.259, allocations: 152 kB / 0.7875 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/1.259, allocations: 204 kB / 0.7877 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005655/1.264, allocations: 1.793 MB / 0.7895 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001377/1.264, allocations: 302.8 kB / 0.7898 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/1.269, allocations: 0.9045 MB / 0.7907 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00054/1.27, allocations: 0.5115 MB / 0.7912 GB, free: 109.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.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 (855): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002546/1.272, allocations: 2.315 MB / 0.7934 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006589/1.273, allocations: 393.3 kB / 0.7938 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/1.278, allocations: 4.821 MB / 0.7985 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/1.278, allocations: 11.95 kB / 0.7985 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/1.278, allocations: 7.938 kB / 0.7985 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007582/1.279, allocations: 404.8 kB / 0.7989 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004715/1.279, allocations: 43.75 kB / 0.799 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.281, allocations: 79.97 kB / 0.799 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/1.281, allocations: 209.5 kB / 0.7992 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00631/1.288, allocations: 5.396 MB / 0.8045 GB, free: 95.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007507/1.295, allocations: 8.74 MB / 0.813 GB, free: 87.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001833/1.297, allocations: 2.151 MB / 0.8151 GB, free: 85.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002943/1.3, allocations: 2.626 MB / 0.8177 GB, free: 82.42 MB / 0.5606 GB Notification: Performance of Backend: time 2.9e-07/1.3, allocations: 0 / 0.8177 GB, free: 82.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007136/1.307, allocations: 5.028 MB / 0.8226 GB, free: 77.43 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01265/1.32, allocations: 11.04 MB / 0.8334 GB, free: 66.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.1074/1.427, allocations: 71.96 MB / 0.9037 GB, free: 11.1 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.123016723999172]