Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001245/0.001245, allocations: 177.3 kB / 17.41 MB, free: 4.289 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.464/1.464, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0008116/0.0008115, allocations: 93.41 kB / 271.9 MB, free: 8.277 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.3215/0.3215, allocations: 43.56 MB / 363.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003749, allocations: 20 kB / 432.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1165, allocations: 58.84 MB / 491.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3273/0.4438, allocations: 95.04 MB / 0.5727 GB, free: 7.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.4442, allocations: 75.97 kB / 0.5728 GB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2301/0.6743, allocations: 89.93 MB / 0.6606 GB, free: 12.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6744, allocations: 0 / 0.6606 GB, free: 12.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003566/0.6747, allocations: 92 kB / 0.6607 GB, free: 12.56 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.05555/0.7303, allocations: 9.624 MB / 0.6701 GB, free: 2.859 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.7304, allocations: 8.031 kB / 0.6701 GB, free: 2.852 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009441/0.7398, allocations: 2.079 MB / 0.6722 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2421/0.9819, allocations: 3.475 MB / 0.6756 GB, free: 82.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004048/0.9824, allocations: 346.4 kB / 0.6759 GB, free: 82.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002987/0.9854, allocations: 479.2 kB / 0.6763 GB, free: 82.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03891/1.024, allocations: 15.48 MB / 0.6915 GB, free: 80.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002046/1.025, allocations: 61.28 kB / 0.6915 GB, free: 80.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001144/1.026, allocations: 221 kB / 0.6917 GB, free: 80.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002002/1.028, allocations: 1.116 MB / 0.6928 GB, free: 80.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0343/1.062, allocations: 15.35 MB / 0.7078 GB, free: 80.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06846/1.131, allocations: 55.66 MB / 0.7622 GB, free: 42.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03615/1.167, allocations: 7.236 MB / 0.7692 GB, free: 41.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004343/1.171, allocations: 2.833 MB / 0.772 GB, free: 40.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008617/1.18, allocations: 6.569 MB / 0.7784 GB, free: 35.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.18, allocations: 54.44 kB / 0.7785 GB, free: 35.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 4.418e-06/1.18, allocations: 0 / 0.7785 GB, free: 35.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.005268/1.185, allocations: 3.74 MB / 0.7821 GB, free: 34.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.185, allocations: 146.7 kB / 0.7822 GB, free: 34.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008412/1.194, allocations: 4.786 MB / 0.7869 GB, free: 32.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002385/1.194, allocations: 49.36 kB / 0.787 GB, free: 32.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002274/1.196, allocations: 3.594 MB / 0.7905 GB, free: 29.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008274/1.197, allocations: 0.7276 MB / 0.7912 GB, free: 29.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005487/1.198, allocations: 137.4 kB / 0.7913 GB, free: 29.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005266/1.198, allocations: 0.5898 MB / 0.7919 GB, free: 28.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/1.202, allocations: 2.205 MB / 0.794 GB, free: 27.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005015/1.207, allocations: 6.491 MB / 0.8004 GB, free: 21.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008109/1.215, allocations: 9.442 MB / 0.8096 GB, free: 12.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/1.215, allocations: 42.91 kB / 0.8096 GB, free: 12.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01179/1.227, allocations: 8.466 MB / 0.8179 GB, free: 9.676 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/1.227, allocations: 70.22 kB / 0.818 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/1.227, allocations: 158.9 kB / 0.8181 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/1.227, allocations: 197.6 kB / 0.8183 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004242/1.231, allocations: 1.626 MB / 0.8199 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001467/1.231, allocations: 296.1 kB / 0.8202 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/1.236, allocations: 0.9369 MB / 0.8211 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004384/1.236, allocations: 439.3 kB / 0.8215 GB, free: 7.129 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 () * Number of clocked 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.003105/1.239, allocations: 2.311 MB / 0.8238 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005672/1.24, allocations: 394.8 kB / 0.8242 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/1.243, allocations: 2.546 MB / 0.8266 GB, free: 2.586 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/1.243, allocations: 24 kB / 0.8267 GB, free: 2.562 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.243, allocations: 0 / 0.8267 GB, free: 2.562 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/1.243, allocations: 13.94 kB / 0.8267 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008113/1.251, allocations: 4.516 MB / 0.8311 GB, free: 15.76 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.251, allocations: 4 kB / 0.8311 GB, free: 15.76 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/1.253, allocations: 344.5 kB / 0.8314 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/1.253, allocations: 4 kB / 0.8314 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/1.253, allocations: 38.02 kB / 0.8315 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/1.253, allocations: 8 kB / 0.8315 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.253, allocations: 0 / 0.8315 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005921/1.259, allocations: 4.807 MB / 0.8362 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.26, allocations: 497.1 kB / 0.8366 GB, free: 10.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/1.261, allocations: 38.72 kB / 0.8367 GB, free: 10.62 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.262, allocations: 62.23 kB / 0.8367 GB, free: 10.58 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.262, allocations: 93.94 kB / 0.8368 GB, free: 10.52 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.262, allocations: 58.28 kB / 0.8369 GB, free: 10.47 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004865/1.267, allocations: 2.996 MB / 0.8398 GB, free: 7.992 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.31e-07/1.267, allocations: 0 / 0.8398 GB, free: 7.992 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005703/1.273, allocations: 1.349 MB / 0.8411 GB, free: 6.648 MB / 0.4949 GB 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 () * Number of clocked 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.000414/1.273, allocations: 182.2 kB / 0.8413 GB, free: 6.469 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007385/1.281, allocations: 4.992 MB / 0.8462 GB, free: 2.16 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.281, allocations: 4.125 kB / 0.8462 GB, free: 2.156 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/1.282, allocations: 1.264 MB / 0.8474 GB, free: 1.059 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/1.285, allocations: 0.4983 MB / 0.8479 GB, free: 0.5898 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/1.305, allocations: 13.06 MB / 0.8606 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00385/1.309, allocations: 3.574 MB / 0.8641 GB, free: 44 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2355/1.544, allocations: 357 kB / 0.8645 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of SimCode: time 2.515e-06/1.544, allocations: 0.75 kB / 0.8645 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.1254/1.669, allocations: 65.92 MB / 0.9289 GB, free: 93.55 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result: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,time