Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001793/0.001793, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001887/0.001887, allocations: 161 kB / 24.56 MB, free: 16 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.019/1.019, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2911/0.2911, allocations: 34.26 MB / 295.7 MB, free: 0.7422 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.163e-05, allocations: 6.25 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002826/0.002848, allocations: 3.064 MB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005944/0.003442, allocations: 426.4 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.003555, allocations: 15.88 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 9.281e-05/0.003648, allocations: 63.31 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.003875, allocations: 178.4 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.004067, allocations: 99.84 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.004422, allocations: 0.5673 MB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.004619, allocations: 109.2 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.004885, allocations: 319.3 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.005056, allocations: 155.6 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.005102, allocations: 40 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.00515, allocations: 44 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.005204, allocations: 95.64 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.005322, allocations: 187.5 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.005603, allocations: 342.7 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005605, allocations: 4 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005606, allocations: 0 / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.005611, allocations: 0 / 383.7 MB, free: 12.95 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.0006085/0.00622, allocations: 0.7492 MB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.00625, allocations: 8.031 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.419e-05/0.006334, allocations: 96.66 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.00654, allocations: 236.3 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.006561, allocations: 33.38 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.006614, allocations: 52.33 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.006984, allocations: 404.1 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.007008, allocations: 12.14 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.00703, allocations: 16.38 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.007042, allocations: 16.31 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.007263, allocations: 193.3 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.008554, allocations: 1.912 MB / 387.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.00893, allocations: 416.2 kB / 387.8 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.009074, allocations: 149.2 kB / 387.9 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.00909, allocations: 11.98 kB / 388 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.009125, allocations: 57.33 kB / 388 MB, free: 8.285 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.715e-06/0.009128, allocations: 0 / 388 MB, free: 8.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004543/0.009582, allocations: 305.1 kB / 388.3 MB, free: 7.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.009663, allocations: 269 kB / 388.6 MB, free: 7.656 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.009825, allocations: 296.3 kB / 388.9 MB, free: 7.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.009843, allocations: 37.7 kB / 388.9 MB, free: 7.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.009961, allocations: 290.9 kB / 389.2 MB, free: 7.016 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.01005, allocations: 183 kB / 389.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.01014, allocations: 128.3 kB / 389.5 MB, free: 6.703 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.01026, allocations: 0.5235 MB / 390 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.01036, allocations: 66.45 kB / 390.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.01062, allocations: 496.9 kB / 390.6 MB, free: 5.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.01103, allocations: 0.6271 MB / 391.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.01103, allocations: 0 / 391.2 MB, free: 4.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004741/0.01151, allocations: 0.509 MB / 391.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.01152, allocations: 8 kB / 391.7 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.01153, allocations: 12 kB / 391.7 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.01155, allocations: 12 kB / 391.7 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.01184, allocations: 183.7 kB / 391.9 MB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.01185, allocations: 15.94 kB / 391.9 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.01199, allocations: 71.45 kB / 392 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.01201, allocations: 32.31 kB / 392 MB, free: 3.766 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.0001075/0.01212, allocations: 216.2 kB / 392.2 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.01224, allocations: 47.81 kB / 392.3 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.01229, allocations: 45.75 kB / 392.3 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01229, allocations: 11.94 kB / 392.3 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01229, allocations: 0 / 392.3 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.0123, allocations: 7.984 kB / 392.3 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.01282, allocations: 304.2 kB / 392.6 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01282, allocations: 0 / 392.6 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.01312, allocations: 123.9 kB / 392.8 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01313, allocations: 4 kB / 392.8 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.01315, allocations: 16.12 kB / 392.8 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.01315, allocations: 11.94 kB / 392.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01316, allocations: 7.984 kB / 392.8 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.01373, allocations: 1.422 MB / 394.2 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.01376, allocations: 39.64 kB / 394.3 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.01378, allocations: 12 kB / 394.3 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.01399, allocations: 8 kB / 394.3 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.01402, allocations: 31.89 kB / 394.3 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.01403, allocations: 23.98 kB / 394.3 MB, free: 1.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.748e-05/0.01411, allocations: 189.1 kB / 394.5 MB, free: 1.191 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01411, allocations: 0 / 394.5 MB, free: 1.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004573/0.01457, allocations: 135.8 kB / 394.7 MB, free: 1.059 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 7.264e-05/0.01464, allocations: 115.1 kB / 394.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.01493, allocations: 296 kB / 395.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01493, allocations: 0 / 395.1 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.01503, allocations: 123.4 kB / 395.2 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.0157, allocations: 90.16 kB / 395.3 MB, free: 448 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.01715, allocations: 1.516 MB / 396.8 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.55e-05/0.01725, allocations: 117.8 kB / 396.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.41e-05/0.01733, allocations: 43.45 kB / 396.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.01738, allocations: 36.5 kB / 397 MB, free: 14.63 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01738, allocations: 0 / 397 MB, free: 14.63 MB / 378.7 MB Notification: Performance of Templates: time 0.005431/0.02281, allocations: 4.122 MB / 401.1 MB, free: 10.59 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.490086288191378]