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.001039/0.001039, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001062/0.001062, allocations: 165 kB / 24.56 MB, free: 8 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 0.9713/0.9713, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2868/0.2868, allocations: 32.8 MB / 294.3 MB, free: 1.215 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.623e-06/1.623e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.158e-05, allocations: 6.25 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003253/0.003285, allocations: 3.064 MB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000737/0.004022, allocations: 414.5 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.004154, allocations: 15.88 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.004258, allocations: 67.3 kB / 379.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.004512, allocations: 174.5 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.004743, allocations: 111.7 kB / 379.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.00517, allocations: 0.5556 MB / 380.4 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.005385, allocations: 113.2 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.005666, allocations: 315.4 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.005859, allocations: 159.5 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.005914, allocations: 44 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.192e-05/0.005966, allocations: 40 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.006035, allocations: 95.66 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.006181, allocations: 175.6 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.006557, allocations: 354.6 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.006562, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.006564, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.006572, allocations: 0 / 381.7 MB, free: 14.98 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.0007644/0.007337, allocations: 0.7532 MB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.007392, allocations: 8.031 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.007497, allocations: 88.66 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.008046, allocations: 236.3 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.008074, allocations: 37.38 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.008139, allocations: 56.33 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.008584, allocations: 408 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.008607, allocations: 12.08 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.008636, allocations: 24.38 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.008652, allocations: 12.38 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.008871, allocations: 179.6 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.01039, allocations: 1.912 MB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.01078, allocations: 415.8 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.01091, allocations: 153.6 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.01093, allocations: 15.94 kB / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.01096, allocations: 53.31 kB / 386 MB, free: 10.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.327e-06/0.01097, allocations: 0 / 386 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005372/0.0115, allocations: 305.1 kB / 386.3 MB, free: 9.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.01161, allocations: 273 kB / 386.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.01179, allocations: 292.5 kB / 386.8 MB, free: 9.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.01181, allocations: 34.19 kB / 386.9 MB, free: 9.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.01195, allocations: 302.9 kB / 387.2 MB, free: 9.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.801e-05/0.01205, allocations: 182.4 kB / 387.4 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.01215, allocations: 120.3 kB / 387.5 MB, free: 8.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.01231, allocations: 0.5273 MB / 388 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.82e-05/0.01241, allocations: 65.95 kB / 388.1 MB, free: 8.113 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.01271, allocations: 496.9 kB / 388.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.01319, allocations: 0.6159 MB / 389.2 MB, free: 6.633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.0132, allocations: 8 kB / 389.2 MB, free: 6.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009127/0.01411, allocations: 0.5164 MB / 389.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.01414, allocations: 8 kB / 389.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.01415, allocations: 12 kB / 389.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.01417, allocations: 12 kB / 389.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.0145, allocations: 176.4 kB / 389.9 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.01451, allocations: 23.94 kB / 389.9 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.01469, allocations: 63.58 kB / 390 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.01471, allocations: 35.98 kB / 390 MB, free: 5.777 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.0001384/0.01485, allocations: 212.2 kB / 390.2 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.01498, allocations: 55.75 kB / 390.3 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.879e-05/0.01506, allocations: 37.77 kB / 390.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.01507, allocations: 4 kB / 390.3 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.01508, allocations: 4 kB / 390.3 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.01509, allocations: 4 kB / 390.3 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/0.01567, allocations: 300.2 kB / 390.6 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.01568, allocations: 8 kB / 390.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.016, allocations: 127.9 kB / 390.7 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.01601, allocations: 4 kB / 390.8 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.01604, allocations: 8 kB / 390.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.01605, allocations: 4 kB / 390.8 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.01605, allocations: 4 kB / 390.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007528/0.0168, allocations: 1.431 MB / 392.2 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.01684, allocations: 47.62 kB / 392.2 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.01688, allocations: 12 kB / 392.3 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.01709, allocations: 8.125 kB / 392.3 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.01713, allocations: 35.83 kB / 392.3 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.01715, allocations: 23.98 kB / 392.3 MB, free: 3.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.01726, allocations: 185.1 kB / 392.5 MB, free: 3.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01726, allocations: 0 / 392.5 MB, free: 3.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005643/0.01782, allocations: 139.8 kB / 392.6 MB, free: 3.07 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.000127/0.01795, allocations: 115.2 kB / 392.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004005/0.01835, allocations: 287.7 kB / 393 MB, free: 2.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.01835, allocations: 3.938 kB / 393 MB, free: 2.664 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.995e-05/0.01845, allocations: 119.6 kB / 393.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.0192, allocations: 92.83 kB / 393.2 MB, free: 2.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.02087, allocations: 1.524 MB / 394.8 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.444e-05/0.02096, allocations: 121.8 kB / 394.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.02106, allocations: 47.45 kB / 394.9 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.02111, allocations: 32.5 kB / 395 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.02111, allocations: 0 / 395 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of Templates: time 0.006568/0.02768, allocations: 4.344 MB / 399.3 MB, free: 12.38 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] 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","",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.2555002360604703]