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.001355/0.001355, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.001215/0.001215, allocations: 165.2 kB / 25.61 MB, free: 8.902 MB / 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.9587/0.9587, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.1449/0.1449, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.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.122e-06/1.122e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.823e-05, allocations: 2.312 kB / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002347/0.002366, allocations: 3.029 MB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006653/0.003031, allocations: 414.4 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.003165, allocations: 15.94 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.876e-05/0.003243, allocations: 71.3 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.00346, allocations: 174.4 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.003616, allocations: 91.86 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.003896, allocations: 0.5751 MB / 381.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.004063, allocations: 113.1 kB / 381.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.004283, allocations: 311.4 kB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.004422, allocations: 163.5 kB / 382.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.004459, allocations: 40 kB / 382.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.841e-05/0.004497, allocations: 40 kB / 382.3 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.365e-05/0.004541, allocations: 95.66 kB / 382.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.1e-05/0.004632, allocations: 175.6 kB / 382.5 MB, free: 20.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.004871, allocations: 350.7 kB / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004873, allocations: 0 / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004874, allocations: 0 / 382.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.004884, allocations: 7.938 kB / 382.9 MB, free: 19.96 MB / 314.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.0005038/0.005388, allocations: 0.7531 MB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.005419, allocations: 11.98 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.00549, allocations: 92.61 kB / 383.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.00566, allocations: 230.3 kB / 384 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.005678, allocations: 41.36 kB / 384 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.005724, allocations: 52.33 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.005975, allocations: 380 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.005995, allocations: 16.08 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.006017, allocations: 20.38 kB / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.006026, allocations: 16.36 kB / 384.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.006152, allocations: 148.8 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009872/0.007139, allocations: 1.869 MB / 386.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.007353, allocations: 407.8 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.007425, allocations: 145.4 kB / 387 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.007437, allocations: 8 kB / 387 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.007456, allocations: 49.33 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.007458, allocations: 3.984 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003495/0.007808, allocations: 293.5 kB / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.007853, allocations: 269 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.007952, allocations: 296 kB / 387.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.007963, allocations: 33.7 kB / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.008027, allocations: 287 kB / 388.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.651e-05/0.008083, allocations: 194.3 kB / 388.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.008149, allocations: 128.2 kB / 388.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.008201, allocations: 0.5195 MB / 389.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.008247, allocations: 53.95 kB / 389.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.008383, allocations: 484.8 kB / 389.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.008647, allocations: 0.5998 MB / 390.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.00865, allocations: 0 / 390.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003462/0.008997, allocations: 482.1 kB / 390.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.009013, allocations: 13.97 kB / 390.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.009022, allocations: 12.12 kB / 390.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.009035, allocations: 16 kB / 390.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.009295, allocations: 175.7 kB / 390.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.009305, allocations: 23.92 kB / 390.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.009434, allocations: 71.52 kB / 391 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.00945, allocations: 24 kB / 391 MB, free: 11 MB / 314.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 8.257e-05/0.009532, allocations: 212.2 kB / 391.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.009644, allocations: 51.75 kB / 391.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.009686, allocations: 41.77 kB / 391.3 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.009691, allocations: 12 kB / 391.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.009695, allocations: 4 kB / 391.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.0097, allocations: 3.984 kB / 391.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.01015, allocations: 252.9 kB / 391.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01015, allocations: 7.984 kB / 391.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.01043, allocations: 119.9 kB / 391.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01043, allocations: 4 kB / 391.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.01045, allocations: 15.98 kB / 391.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01045, allocations: 4 kB / 391.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01045, allocations: 7.938 kB / 391.7 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.01082, allocations: 1.4 MB / 393.1 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.01084, allocations: 35.69 kB / 393.1 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.01087, allocations: 16 kB / 393.2 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.01107, allocations: 11.98 kB / 393.2 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.01109, allocations: 31.89 kB / 393.2 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.0111, allocations: 15.94 kB / 393.2 MB, free: 8.699 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.261e-05/0.01114, allocations: 181.1 kB / 393.4 MB, free: 8.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01114, allocations: 0 / 393.4 MB, free: 8.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004665/0.01161, allocations: 139.7 kB / 393.5 MB, free: 8.383 MB / 314.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.169e-05/0.01168, allocations: 111.8 kB / 393.6 MB, free: 8.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.0119, allocations: 283.5 kB / 393.9 MB, free: 7.988 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.0119, allocations: 0 / 393.9 MB, free: 7.988 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.207e-05/0.01197, allocations: 107.9 kB / 394 MB, free: 7.879 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.01264, allocations: 97.75 kB / 394.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.01392, allocations: 1.512 MB / 395.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.707e-05/0.014, allocations: 121.7 kB / 395.8 MB, free: 6.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.814e-05/0.01409, allocations: 55.36 kB / 395.8 MB, free: 6.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.01423, allocations: 158.1 kB / 396 MB, free: 5.855 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01423, allocations: 0 / 396 MB, free: 5.855 MB / 314.7 MB Notification: Performance of Templates: time 0.005763/0.01999, allocations: 4.571 MB / 400.5 MB, free: 1.398 MB / 314.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.230550230946392]