Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 95.31 kB / 20.42 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9679/0.9679, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1357/0.1357, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.705e-05, allocations: 4.281 kB / 347.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002918/0.002935, allocations: 3.063 MB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.003621, allocations: 418.5 kB / 351.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.003768, allocations: 11.94 kB / 351.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.003881, allocations: 71.3 kB / 351.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.004156, allocations: 182.3 kB / 351.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.004353, allocations: 95.84 kB / 351.5 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.004718, allocations: 0.5634 MB / 352 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.004901, allocations: 109.2 kB / 352.1 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.005189, allocations: 315.4 kB / 352.5 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.005371, allocations: 163.5 kB / 352.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.005428, allocations: 40 kB / 352.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.005488, allocations: 40 kB / 352.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.005541, allocations: 95.66 kB / 352.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.005674, allocations: 179.6 kB / 353 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.005974, allocations: 354.6 kB / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005977, allocations: 0 / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005977, allocations: 0 / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.005983, allocations: 0 / 353.3 MB, free: 3.785 MB / 282.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.0006745/0.006657, allocations: 0.7531 MB / 354.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.006695, allocations: 8.031 kB / 354.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.006798, allocations: 92.66 kB / 354.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.007025, allocations: 231.8 kB / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.00705, allocations: 41.36 kB / 354.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.00711, allocations: 52.33 kB / 354.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.007543, allocations: 400.1 kB / 354.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.007569, allocations: 12.14 kB / 354.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.007599, allocations: 20.38 kB / 354.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.007616, allocations: 12.38 kB / 354.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.007885, allocations: 188.9 kB / 355.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.00923, allocations: 1.923 MB / 357 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.009665, allocations: 423.7 kB / 357.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.009819, allocations: 149.6 kB / 357.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.009835, allocations: 8 kB / 357.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.009867, allocations: 53.33 kB / 357.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.733e-06/0.009869, allocations: 4 kB / 357.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006097/0.01048, allocations: 309.1 kB / 357.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.01058, allocations: 265 kB / 358.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.01078, allocations: 292.3 kB / 358.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.01081, allocations: 37.7 kB / 358.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.01095, allocations: 294.9 kB / 358.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.01108, allocations: 186.4 kB / 359 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.0112, allocations: 120.8 kB / 359.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.01137, allocations: 0.5235 MB / 359.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.01151, allocations: 73.94 kB / 359.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.01189, allocations: 496.9 kB / 360.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.01246, allocations: 0.6237 MB / 360.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.01247, allocations: 4 kB / 360.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001091/0.01356, allocations: 0.5051 MB / 361.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.01358, allocations: 15.98 kB / 361.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.01359, allocations: 8 kB / 361.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.01361, allocations: 16 kB / 361.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.01392, allocations: 171.7 kB / 361.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.01394, allocations: 19.92 kB / 361.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.01417, allocations: 67.52 kB / 361.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.01419, allocations: 32.31 kB / 361.7 MB, free: 10.59 MB / 298.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.01434, allocations: 220.1 kB / 361.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.01446, allocations: 47.8 kB / 361.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.01451, allocations: 41.77 kB / 362 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.01452, allocations: 8 kB / 362 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.01453, allocations: 4 kB / 362 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01453, allocations: 0 / 362 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.01508, allocations: 304.2 kB / 362.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01508, allocations: 4 kB / 362.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.01538, allocations: 123.8 kB / 362.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01538, allocations: 4 kB / 362.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.01541, allocations: 20 kB / 362.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.01542, allocations: 7.938 kB / 362.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.01542, allocations: 128 / 362.4 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.01607, allocations: 1.43 MB / 363.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.0161, allocations: 35.64 kB / 363.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.01613, allocations: 19.98 kB / 363.9 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.01659, allocations: 8 kB / 363.9 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.01662, allocations: 31.89 kB / 363.9 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.01663, allocations: 16 kB / 364 MB, free: 8.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.305e-05/0.01673, allocations: 193.1 kB / 364.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01673, allocations: 0 / 364.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004922/0.01722, allocations: 135.8 kB / 364.3 MB, free: 7.887 MB / 298.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000108/0.01733, allocations: 111.2 kB / 364.4 MB, free: 7.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.01768, allocations: 295.7 kB / 364.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01769, allocations: 0 / 364.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01779, allocations: 121.3 kB / 364.8 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/0.01854, allocations: 96.36 kB / 364.9 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.02026, allocations: 1.516 MB / 366.4 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.02038, allocations: 121.8 kB / 366.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.0205, allocations: 47.44 kB / 366.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.02056, allocations: 36.5 kB / 366.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of SimCode: time 9.81e-07/0.02056, allocations: 0 / 366.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of Templates: time 0.006054/0.02661, allocations: 4.357 MB / 371 MB, free: 1.176 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.325676809065044]