Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000941/0.000941, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007699/0.0007699, allocations: 90.53 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3187/0.3187, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.651e-05/2.661e-05, allocations: 4 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3111/0.4158, allocations: 94.87 MB / 0.5654 GB, free: 10.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4161, allocations: 75.95 kB / 0.5655 GB, free: 10.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2075/0.6236, allocations: 90.72 MB / 0.6541 GB, free: 14.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6236, allocations: 0 / 0.6541 GB, free: 14.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001703/0.6238, allocations: 96 kB / 0.6542 GB, free: 14.64 MB / 490.7 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.05539/0.6792, allocations: 9.666 MB / 0.6636 GB, free: 4.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6792, allocations: 12.03 kB / 0.6637 GB, free: 4.898 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00819/0.6874, allocations: 2.079 MB / 0.6657 GB, free: 2.809 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2553/0.9427, allocations: 3.405 MB / 0.669 GB, free: 81.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004971/0.9433, allocations: 344.5 kB / 0.6693 GB, free: 81.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003897/0.9472, allocations: 477.3 kB / 0.6698 GB, free: 81.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04337/0.9906, allocations: 15.33 MB / 0.6848 GB, free: 78.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002051/0.9908, allocations: 71.78 kB / 0.6848 GB, free: 78.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/0.9921, allocations: 219.1 kB / 0.685 GB, free: 78.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002109/0.9943, allocations: 1.116 MB / 0.6861 GB, free: 78.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0376/1.032, allocations: 15.18 MB / 0.701 GB, free: 78.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06881/1.101, allocations: 55.64 MB / 0.7553 GB, free: 42.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04155/1.142, allocations: 7.218 MB / 0.7623 GB, free: 40.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003617/1.146, allocations: 2.816 MB / 0.7651 GB, free: 39.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007733/1.154, allocations: 6.557 MB / 0.7715 GB, free: 35.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/1.154, allocations: 51.16 kB / 0.7715 GB, free: 35.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 4.549e-06/1.154, allocations: 0 / 0.7715 GB, free: 35.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.003624/1.157, allocations: 2.689 MB / 0.7742 GB, free: 34.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/1.158, allocations: 152.7 kB / 0.7743 GB, free: 34.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005748/1.163, allocations: 4.244 MB / 0.7785 GB, free: 32.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002142/1.164, allocations: 53.3 kB / 0.7785 GB, free: 32.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/1.165, allocations: 3.588 MB / 0.782 GB, free: 29.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006085/1.166, allocations: 0.7254 MB / 0.7827 GB, free: 29.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/1.166, allocations: 136.6 kB / 0.7829 GB, free: 29.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002902/1.166, allocations: 0.5893 MB / 0.7834 GB, free: 28.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/1.169, allocations: 2.166 MB / 0.7855 GB, free: 28.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004225/1.173, allocations: 6.43 MB / 0.7918 GB, free: 21.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/1.177, allocations: 3.703 MB / 0.7954 GB, free: 20.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-05/1.177, allocations: 49.19 kB / 0.7955 GB, free: 20.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01093/1.188, allocations: 8.386 MB / 0.8037 GB, free: 16.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.238e-05/1.188, allocations: 71.56 kB / 0.8037 GB, free: 16.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/1.189, allocations: 156.9 kB / 0.8039 GB, free: 16.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/1.189, allocations: 221.6 kB / 0.8041 GB, free: 16.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004307/1.193, allocations: 1.625 MB / 0.8057 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001515/1.193, allocations: 295.4 kB / 0.806 GB, free: 16.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004554/1.198, allocations: 0.923 MB / 0.8069 GB, free: 16.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005049/1.198, allocations: 437.7 kB / 0.8073 GB, free: 16.01 MB / 490.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (849): * Single equations (assignments): 846 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006663/1.199, allocations: 0.6349 MB / 0.8079 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/1.2, allocations: 402.1 kB / 0.8083 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/1.204, allocations: 2.53 MB / 0.8108 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/1.204, allocations: 24.3 kB / 0.8108 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.204, allocations: 0 / 0.8108 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/1.204, allocations: 11.17 kB / 0.8108 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/1.21, allocations: 4.298 MB / 0.815 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.21, allocations: 3.938 kB / 0.815 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/1.212, allocations: 345.4 kB / 0.8153 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/1.212, allocations: 11.47 kB / 0.8153 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.212, allocations: 28 kB / 0.8154 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.212, allocations: 8 kB / 0.8154 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.212, allocations: 0 / 0.8154 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004559/1.217, allocations: 4.85 MB / 0.8201 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008581/1.217, allocations: 0.4984 MB / 0.8206 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/1.218, allocations: 34.25 kB / 0.8206 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.219, allocations: 66.19 kB / 0.8207 GB, free: 4.203 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/1.219, allocations: 96.31 kB / 0.8208 GB, free: 4.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.219, allocations: 55.75 kB / 0.8208 GB, free: 4.094 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003377/1.223, allocations: 2.95 MB / 0.8237 GB, free: 1.473 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.223, allocations: 0 / 0.8237 GB, free: 1.473 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004577/1.227, allocations: 1.347 MB / 0.825 GB, free: 132 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.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,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003819/1.228, allocations: 180.9 kB / 0.8252 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007226/1.235, allocations: 4.946 MB / 0.83 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.235, allocations: 4.062 kB / 0.83 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/1.237, allocations: 1.255 MB / 0.8313 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.239, allocations: 486 kB / 0.8317 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.257, allocations: 8.761 MB / 0.8403 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007481/1.264, allocations: 3.9 MB / 0.8441 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005556/1.27, allocations: 2.052 MB / 0.8461 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.271, allocations: 321.6 kB / 0.8464 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/1.271, allocations: 0 / 0.8464 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.3234/1.594, allocations: 40.19 MB / 0.8857 GB, free: 97.98 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches