Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009069/0.0009072, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0008523/0.0008524, allocations: 101 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2838/0.2838, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.573e-05, allocations: 224 / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1473, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5969, allocations: 86.55 MB / 0.5792 GB, free: 9.961 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.5972, allocations: 71.95 kB / 0.5793 GB, free: 9.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01839/0.6156, allocations: 7.228 MB / 0.5863 GB, free: 2.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.6156, allocations: 0 / 0.5863 GB, free: 2.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.6156, allocations: 15.94 kB / 0.5863 GB, free: 2.652 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008225/0.6165, allocations: 0.5961 MB / 0.5869 GB, free: 2.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.6165, allocations: 15.98 kB / 0.5869 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.759e-05/0.6166, allocations: 47.44 kB / 0.587 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.6168, allocations: 226.3 kB / 0.5872 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.6169, allocations: 20.34 kB / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.405e-05/0.6169, allocations: 43.86 kB / 0.5873 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003743/0.6173, allocations: 210.5 kB / 0.5875 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.6179, allocations: 383.6 kB / 0.5878 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.6179, allocations: 7.906 kB / 0.5878 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.618, allocations: 4 kB / 0.5878 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.618, allocations: 12 kB / 0.5878 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.6199, allocations: 1.614 MB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.6203, allocations: 383.4 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.6205, allocations: 131.7 kB / 0.5899 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.6205, allocations: 14.94 kB / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.6206, allocations: 51.08 kB / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.6206, allocations: 0 / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005148/0.6211, allocations: 245 kB / 0.5902 GB, free: 14.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.6212, allocations: 265 kB / 0.5905 GB, free: 14.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.6214, allocations: 198.3 kB / 0.5907 GB, free: 13.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.6214, allocations: 25.7 kB / 0.5907 GB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.6216, allocations: 247.5 kB / 0.5909 GB, free: 13.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6217, allocations: 173.5 kB / 0.5911 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.6217, allocations: 128 / 0.5911 GB, free: 13.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6219, allocations: 350.8 kB / 0.5914 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.622, allocations: 101.5 kB / 0.5915 GB, free: 12.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.6224, allocations: 394.3 kB / 0.5919 GB, free: 12.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.6226, allocations: 164.5 kB / 0.592 GB, free: 12.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.6226, allocations: 4 kB / 0.592 GB, free: 12.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006377/0.6232, allocations: 485.7 kB / 0.5925 GB, free: 11.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6233, allocations: 8 kB / 0.5925 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.6233, allocations: 16.05 kB / 0.5925 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.6233, allocations: 23.95 kB / 0.5926 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.6238, allocations: 171.7 kB / 0.5927 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.6239, allocations: 19.92 kB / 0.5927 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.6241, allocations: 59.22 kB / 0.5928 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.6241, allocations: 32.31 kB / 0.5928 GB, free: 11.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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 9.86e-05/0.6242, allocations: 128.7 kB / 0.5929 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.6244, allocations: 31.72 kB / 0.593 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.614e-05/0.6245, allocations: 37.83 kB / 0.593 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.6245, allocations: 4 kB / 0.593 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.6245, allocations: 11.78 kB / 0.593 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.6245, allocations: 7.984 kB / 0.593 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.6253, allocations: 353.7 kB / 0.5934 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6253, allocations: 0 / 0.5934 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/0.6259, allocations: 131.8 kB / 0.5935 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6259, allocations: 4 kB / 0.5935 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.6259, allocations: 11.98 kB / 0.5935 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6259, allocations: 4 kB / 0.5935 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.626, allocations: 4 kB / 0.5935 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/0.6267, allocations: 1.131 MB / 0.5946 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.6268, allocations: 108.7 kB / 0.5947 GB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.6268, allocations: 7.953 kB / 0.5947 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.6272, allocations: 0 / 0.5947 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.6272, allocations: 31.95 kB / 0.5948 GB, free: 9.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.6272, allocations: 12 kB / 0.5948 GB, free: 9.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.6274, allocations: 154 kB / 0.5949 GB, free: 9.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.653e-06/0.6274, allocations: 0 / 0.5949 GB, free: 9.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007079/0.6281, allocations: 127.6 kB / 0.595 GB, free: 9.047 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * 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.0001367/0.6282, allocations: 107.3 kB / 0.5952 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004977/0.6287, allocations: 304.3 kB / 0.5954 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6287, allocations: 0 / 0.5954 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.6289, allocations: 115.8 kB / 0.5956 GB, free: 8.523 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.6297, allocations: 77.88 kB / 0.5956 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.6323, allocations: 1.964 MB / 0.5975 GB, free: 6.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.6328, allocations: 0.8353 MB / 0.5984 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.633, allocations: 47.44 kB / 0.5984 GB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.633, allocations: 35.38 kB / 0.5984 GB, free: 5.484 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.633, allocations: 0 / 0.5984 GB, free: 5.484 MB / 410.7 MB Notification: Performance of Templates: time 0.007446/0.6405, allocations: 3.555 MB / 0.6019 GB, free: 1.965 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches