Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009718/0.0009718, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.4 MB / 236 MB, free: 2.902 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 101.9 kB / 287 MB, free: 196 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1657/0.1657, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.864e-05, allocations: 8.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.479, allocations: 96.29 MB / 0.5957 GB, free: 9.062 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.4793, allocations: 75.22 kB / 0.5958 GB, free: 8.992 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2207/0.7, allocations: 92.19 MB / 0.6858 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7, allocations: 0 / 0.6858 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00021/0.7002, allocations: 96 kB / 0.6859 GB, free: 12.03 MB / 0.4948 GB 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.05867/0.7589, allocations: 9.67 MB / 0.6954 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.759, allocations: 8.031 kB / 0.6954 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008826/0.7678, allocations: 2.076 MB / 0.6974 GB, free: 200 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007155/0.775, allocations: 3.414 MB / 0.7007 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.7753, allocations: 349.1 kB / 0.7011 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001786/0.777, allocations: 479.6 kB / 0.7015 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3104/1.087, allocations: 15.32 MB / 0.7165 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002506/1.088, allocations: 62.39 kB / 0.7165 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/1.089, allocations: 223.7 kB / 0.7168 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002512/1.091, allocations: 1.119 MB / 0.7178 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03922/1.131, allocations: 15.18 MB / 0.7327 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05823/1.189, allocations: 55.63 MB / 0.787 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04074/1.23, allocations: 7.207 MB / 0.794 GB, free: 78.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003441/1.233, allocations: 2.824 MB / 0.7968 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007639/1.241, allocations: 6.567 MB / 0.8032 GB, free: 72.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/1.241, allocations: 57.62 kB / 0.8033 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=176): time 3.686e-06/1.241, allocations: 0 / 0.8033 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.003511/1.244, allocations: 2.694 MB / 0.8059 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.245, allocations: 146 kB / 0.806 GB, free: 71.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005123/1.25, allocations: 4.24 MB / 0.8102 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/1.25, allocations: 49.61 kB / 0.8102 GB, free: 69.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/1.251, allocations: 3.602 MB / 0.8137 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/1.252, allocations: 0.7242 MB / 0.8145 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/1.252, allocations: 131.4 kB / 0.8146 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002705/1.252, allocations: 0.5916 MB / 0.8152 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/1.255, allocations: 2.164 MB / 0.8173 GB, free: 65.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003985/1.259, allocations: 6.413 MB / 0.8235 GB, free: 58.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/1.263, allocations: 3.717 MB / 0.8272 GB, free: 57.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/1.263, allocations: 46.06 kB / 0.8272 GB, free: 57.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01223/1.276, allocations: 8.389 MB / 0.8354 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.616e-05/1.276, allocations: 72.06 kB / 0.8355 GB, free: 54.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/1.276, allocations: 152 kB / 0.8356 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/1.276, allocations: 224 kB / 0.8358 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/1.281, allocations: 1.622 MB / 0.8374 GB, free: 52.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001556/1.281, allocations: 302.7 kB / 0.8377 GB, free: 52.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/1.285, allocations: 0.928 MB / 0.8386 GB, free: 51.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005506/1.286, allocations: 438.5 kB / 0.839 GB, free: 50.87 MB / 0.5105 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 () * 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.0006574/1.287, allocations: 0.6312 MB / 0.8396 GB, free: 50.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005122/1.287, allocations: 406.8 kB / 0.84 GB, free: 49.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/1.291, allocations: 2.511 MB / 0.8425 GB, free: 47.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/1.291, allocations: 20 kB / 0.8425 GB, free: 47.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.291, allocations: 4 kB / 0.8425 GB, free: 47.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/1.291, allocations: 17.42 kB / 0.8425 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00627/1.297, allocations: 4.285 MB / 0.8467 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.297, allocations: 2.062 kB / 0.8467 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.299, allocations: 347.4 kB / 0.847 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/1.299, allocations: 8 kB / 0.847 GB, free: 44.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.299, allocations: 33.52 kB / 0.8471 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/1.299, allocations: 8 kB / 0.8471 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.299, allocations: 0 / 0.8471 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00483/1.304, allocations: 4.866 MB / 0.8518 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.305, allocations: 0.4904 MB / 0.8523 GB, free: 39.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/1.305, allocations: 32 kB / 0.8523 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.307, allocations: 63.19 kB / 0.8524 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/1.307, allocations: 97.84 kB / 0.8525 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/1.307, allocations: 51.61 kB / 0.8525 GB, free: 38.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004243/1.311, allocations: 2.949 MB / 0.8554 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/1.311, allocations: 0 / 0.8554 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005984/1.317, allocations: 1.357 MB / 0.8568 GB, free: 35 MB / 0.5105 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 () * 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.0004722/1.318, allocations: 181.3 kB / 0.8569 GB, free: 34.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007808/1.325, allocations: 4.947 MB / 0.8618 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.326, allocations: 0 / 0.8618 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/1.327, allocations: 1.258 MB / 0.863 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/1.331, allocations: 495.9 kB / 0.8635 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.344, allocations: 8.752 MB / 0.872 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003012/1.347, allocations: 3.678 MB / 0.8756 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004891/1.352, allocations: 2.055 MB / 0.8776 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008886/1.353, allocations: 311.3 kB / 0.8779 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/1.353, allocations: 0 / 0.8779 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.3273/1.68, allocations: 40.25 MB / 0.9172 GB, free: 110.9 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches