Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 114.3 kB / 21.18 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 210.3 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2213/0.2213, allocations: 46.89 MB / 361.1 MB, free: 4.645 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002939/0.002939, allocations: 75.88 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3069, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01796/0.3248, allocations: 15.99 MB / 0.5768 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00893/0.3338, allocations: 3.889 MB / 0.5806 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.3361, allocations: 87.75 kB / 0.5807 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00636/0.3424, allocations: 3.157 MB / 0.5838 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004726/0.3471, allocations: 1.82 MB / 0.5855 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.3483, allocations: 471 kB / 0.586 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005497/0.3538, allocations: 4.005 MB / 0.5899 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.3567, allocations: 2.272 MB / 0.5921 GB, free: 5.164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.359, allocations: 1.912 MB / 0.594 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004309/0.3633, allocations: 3.174 MB / 0.5971 GB, free: 64 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009634/0.3643, allocations: 496 kB / 0.5976 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.366, allocations: 0.9599 MB / 0.5985 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0022/0.3682, allocations: 2.283 MB / 0.6007 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003012/0.3712, allocations: 2.77 MB / 0.6034 GB, free: 9.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009966/0.3812, allocations: 8.703 MB / 0.6119 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3812, allocations: 0 / 0.6119 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3812, allocations: 0 / 0.6119 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002049/0.3814, allocations: 8 kB / 0.6119 GB, free: 0.8008 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.09089/0.4723, allocations: 11.33 MB / 0.623 GB, free: 5.375 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4724, allocations: 8.031 kB / 0.623 GB, free: 5.367 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007948/0.4803, allocations: 1.888 MB / 0.6249 GB, free: 3.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008581/0.4889, allocations: 3.346 MB / 0.6281 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.4892, allocations: 299.5 kB / 0.6284 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002133/0.4913, allocations: 407.7 kB / 0.6288 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05469/0.546, allocations: 19.54 MB / 0.6479 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/0.5462, allocations: 59.52 kB / 0.6479 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001477/0.5477, allocations: 179.8 kB / 0.6481 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006265/0.554, allocations: 2.342 MB / 0.6504 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05765/0.6116, allocations: 22.39 MB / 0.6723 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08492/0.6965, allocations: 52.46 MB / 0.7235 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07419/0.7707, allocations: 9.093 MB / 0.7324 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004817/0.7755, allocations: 2.978 MB / 0.7353 GB, free: 76 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2616/1.037, allocations: 353.7 kB / 0.7356 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/1.037, allocations: 55.73 kB / 0.7357 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=212): time 5.681e-06/1.037, allocations: 3.344 kB / 0.7357 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.1366/1.174, allocations: 16.11 MB / 0.7514 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/1.174, allocations: 153 kB / 0.7516 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006112/1.18, allocations: 4.7 MB / 0.7562 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005813/1.181, allocations: 57.7 kB / 0.7562 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001859/1.182, allocations: 3.626 MB / 0.7597 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.183, allocations: 0.8732 MB / 0.7606 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001641/1.185, allocations: 1.552 MB / 0.7621 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.338e-05/1.185, allocations: 301.1 kB / 0.7624 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/1.188, allocations: 3.177 MB / 0.7655 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004582/1.193, allocations: 7.455 MB / 0.7728 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009124/1.202, allocations: 11.48 MB / 0.784 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/1.202, allocations: 47.75 kB / 0.784 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01359/1.216, allocations: 10.64 MB / 0.7944 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/1.216, allocations: 68 kB / 0.7945 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-05/1.216, allocations: 152 kB / 0.7946 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/1.216, allocations: 200 kB / 0.7948 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005206/1.221, allocations: 1.801 MB / 0.7966 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001495/1.221, allocations: 302.8 kB / 0.7969 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005144/1.226, allocations: 0.9575 MB / 0.7978 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007076/1.227, allocations: 0.5117 MB / 0.7983 GB, free: 103.1 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.002865/1.23, allocations: 2.311 MB / 0.8006 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007941/1.231, allocations: 425.1 kB / 0.801 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/1.236, allocations: 4.865 MB / 0.8057 GB, free: 95.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/1.236, allocations: 7.969 kB / 0.8057 GB, free: 95.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.236, allocations: 2.375 kB / 0.8057 GB, free: 95.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009292/1.236, allocations: 0.5173 MB / 0.8062 GB, free: 94.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004997/1.237, allocations: 40 kB / 0.8063 GB, free: 94.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/1.239, allocations: 75.97 kB / 0.8063 GB, free: 94.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/1.239, allocations: 213.5 kB / 0.8066 GB, free: 94.65 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006317/1.245, allocations: 5.413 MB / 0.8118 GB, free: 89.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007851/1.253, allocations: 8.786 MB / 0.8204 GB, free: 80.46 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001857/1.255, allocations: 2.148 MB / 0.8225 GB, free: 78.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00355/1.259, allocations: 2.946 MB / 0.8254 GB, free: 75.37 MB / 0.5606 GB Notification: Performance of Backend: time 4.41e-07/1.259, allocations: 0 / 0.8254 GB, free: 75.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008129/1.267, allocations: 5.048 MB / 0.8303 GB, free: 70.36 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01517/1.282, allocations: 11.17 MB / 0.8412 GB, free: 59.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.1169/1.399, allocations: 68.62 MB / 0.9083 GB, free: 6.75 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.851542976684868]