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/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.001997/0.001997, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002315/0.002315, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3415/0.3415, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.688e-05, allocations: 2.312 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004524/0.004551, allocations: 2.822 MB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007927/0.005343, allocations: 422.4 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.005479, allocations: 11.94 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.005633, allocations: 67.31 kB / 378.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.005982, allocations: 178.4 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.006226, allocations: 99.83 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006366/0.006863, allocations: 0.5633 MB / 379.4 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.007114, allocations: 109 kB / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.007542, allocations: 315.4 kB / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.007801, allocations: 163.5 kB / 380 MB, free: 256 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.007871, allocations: 40 kB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-05/0.007952, allocations: 40 kB / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003664/0.008318, allocations: 99.58 kB / 380.1 MB, free: 76 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.008556, allocations: 171.7 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006391/0.009196, allocations: 0.5295 MB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.009199, allocations: 0 / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.0092, allocations: 0 / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.009207, allocations: 0 / 380.8 MB, free: 15.38 MB / 362.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.001087/0.01029, allocations: 0.6455 MB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.01034, allocations: 12.03 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.01052, allocations: 92.61 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.01089, allocations: 229.7 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.01093, allocations: 37.38 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-05/0.01102, allocations: 56.33 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007732/0.0118, allocations: 462.6 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.01183, allocations: 8.141 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.01187, allocations: 20.38 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.01189, allocations: 16.38 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.01237, allocations: 259.6 kB / 382.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.01475, allocations: 1.504 MB / 384.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/0.01537, allocations: 403.5 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.01561, allocations: 147.6 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.01564, allocations: 12 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.01568, allocations: 50.48 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.01568, allocations: 0 / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008362/0.01652, allocations: 369.6 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/0.01671, allocations: 265 kB / 385.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.01699, allocations: 246.2 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.01703, allocations: 37.7 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.01724, allocations: 252.2 kB / 385.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.01742, allocations: 194.4 kB / 386.1 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.01759, allocations: 114.6 kB / 386.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.0178, allocations: 350.7 kB / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.01802, allocations: 117.9 kB / 386.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/0.01881, allocations: 413.6 kB / 387.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/0.01961, allocations: 0.5776 MB / 387.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.01962, allocations: 0 / 387.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001012/0.02063, allocations: 0.6141 MB / 388.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.02066, allocations: 9.875 kB / 388.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.02068, allocations: 12 kB / 388.3 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.02071, allocations: 12 kB / 388.3 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.02132, allocations: 180.4 kB / 388.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.02134, allocations: 19.94 kB / 388.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.02162, allocations: 63.56 kB / 388.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.02167, allocations: 32 kB / 388.6 MB, free: 6.977 MB / 362.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.0002244/0.02189, allocations: 189.5 kB / 388.8 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.0221, allocations: 55.7 kB / 388.8 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.0222, allocations: 41.77 kB / 388.9 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.02221, allocations: 8 kB / 388.9 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.02222, allocations: 0 / 388.9 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.02223, allocations: 4 kB / 388.9 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009748/0.0232, allocations: 308.9 kB / 389.2 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.02321, allocations: 8 kB / 389.2 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.02381, allocations: 123.9 kB / 389.3 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.02382, allocations: 4 kB / 389.3 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.02385, allocations: 8 kB / 389.3 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.02385, allocations: 4 kB / 389.3 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.02386, allocations: 4 kB / 389.3 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.02511, allocations: 1.095 MB / 390.4 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.02519, allocations: 43.72 kB / 390.5 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.02526, allocations: 12 kB / 390.5 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.02602, allocations: 16 kB / 390.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.02612, allocations: 35.83 kB / 390.5 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.02616, allocations: 11.98 kB / 390.5 MB, free: 4.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.02641, allocations: 165.2 kB / 390.7 MB, free: 4.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02641, allocations: 0 / 390.7 MB, free: 4.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001307/0.02772, allocations: 135.8 kB / 390.8 MB, free: 4.664 MB / 362.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.0002667/0.02798, allocations: 115.1 kB / 390.9 MB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009759/0.02896, allocations: 341.3 kB / 391.3 MB, free: 4.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.02896, allocations: 0 / 391.3 MB, free: 4.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.02931, allocations: 120.6 kB / 391.4 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.03161, allocations: 97.58 kB / 391.5 MB, free: 4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.03545, allocations: 1.504 MB / 393 MB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.03589, allocations: 232.1 kB / 393.2 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.03619, allocations: 47.44 kB / 393.3 MB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.03632, allocations: 32.5 kB / 393.3 MB, free: 2.105 MB / 362.7 MB Notification: Performance of SimCode: time 1.953e-06/0.03632, allocations: 0 / 393.3 MB, free: 2.105 MB / 362.7 MB Notification: Performance of Templates: time 0.01375/0.05007, allocations: 4.112 MB / 397.4 MB, free: 14.07 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.085431399056688]