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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001714/0.002834, allocations: 449.9 kB / 10.44 MB, free: 248 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 144.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00151/0.002536, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9328/0.9328, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1175/1.05, allocations: 52.5 MB / 238.4 MB, free: 4.355 MB / 234.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.1403/0.1403, allocations: 32.81 MB / 272 MB, free: 2.957 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1486/0.2889, allocations: 12.55 MB / 284.5 MB, free: 11.88 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.202e-06/1.202e-06, allocations: 0 / 285.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.357e-05, allocations: 3.578 kB / 285.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.006775/0.006798, allocations: 3.065 MB / 288.9 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.007883, allocations: 440.5 kB / 289.3 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.008065, allocations: 11.81 kB / 289.3 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.008187, allocations: 66.34 kB / 289.4 MB, free: 8.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.008497, allocations: 182.3 kB / 289.6 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.008681, allocations: 97.91 kB / 289.7 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004885/0.00917, allocations: 0.569 MB / 290.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.01238, allocations: 115.6 kB / 290.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005078/0.01289, allocations: 349.8 kB / 290.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.01311, allocations: 157.7 kB / 290.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.01316, allocations: 40.62 kB / 290.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.01324, allocations: 45.25 kB / 290.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.01331, allocations: 70.75 kB / 291 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.01345, allocations: 154.4 kB / 291.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.01383, allocations: 328 kB / 291.5 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.01384, allocations: 0 / 291.5 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01384, allocations: 0 / 291.5 MB, free: 6.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.01386, allocations: 0.875 kB / 291.5 MB, free: 6.867 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.0008381/0.01469, allocations: 0.7355 MB / 292.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.01473, allocations: 17.16 kB / 292.2 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.01484, allocations: 76.97 kB / 292.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.01512, allocations: 191.6 kB / 292.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.01515, allocations: 36.31 kB / 292.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.01523, allocations: 56.91 kB / 292.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/0.01861, allocations: 357 kB / 292.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.01864, allocations: 16.64 kB / 292.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.01866, allocations: 20.28 kB / 293 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.01868, allocations: 12.56 kB / 293 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.01886, allocations: 147 kB / 293.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.02017, allocations: 1.341 MB / 294.5 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.02047, allocations: 311.8 kB / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.907e-05/0.02056, allocations: 115.8 kB / 294.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.02058, allocations: 16 kB / 294.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.02061, allocations: 46.48 kB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/0.02061, allocations: 4 kB / 294.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004166/0.02103, allocations: 234.1 kB / 295.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.02112, allocations: 269 kB / 295.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.02427, allocations: 240.8 kB / 295.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.02429, allocations: 30.2 kB / 295.7 MB, free: 3.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.0244, allocations: 240.2 kB / 295.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.02451, allocations: 190.3 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.02462, allocations: 118.6 kB / 296.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.02472, allocations: 366.6 kB / 296.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.02479, allocations: 49.97 kB / 296.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.025, allocations: 353.6 kB / 297 MB, free: 1.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.02541, allocations: 498.3 kB / 297.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.02541, allocations: 0 / 297.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004649/0.02588, allocations: 409.1 kB / 297.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.0259, allocations: 12 kB / 297.9 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.02591, allocations: 8 kB / 297.9 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.02593, allocations: 16 kB / 297.9 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.02645, allocations: 223.5 kB / 298.1 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.02647, allocations: 28.17 kB / 298.2 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.02669, allocations: 59.56 kB / 298.2 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.02672, allocations: 28 kB / 298.2 MB, free: 184 kB / 282.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.0001119/0.02683, allocations: 157.5 kB / 298.4 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.027, allocations: 36.05 kB / 298.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.02706, allocations: 45.77 kB / 298.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.02707, allocations: 4 kB / 298.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.02708, allocations: 11.92 kB / 298.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.02708, allocations: 4 kB / 298.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/0.02781, allocations: 225.4 kB / 298.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.02781, allocations: 4 kB / 298.7 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.02822, allocations: 152.1 kB / 298.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.02825, allocations: 35.7 kB / 298.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.02826, allocations: 7.938 kB / 298.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.02828, allocations: 12 kB / 298.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.02829, allocations: 11.97 kB / 298.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.02829, allocations: 7.938 kB / 298.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.0287, allocations: 0.9553 MB / 299.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.02873, allocations: 15.94 kB / 299.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.02894, allocations: 15.98 kB / 299.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.02896, allocations: 23.95 kB / 299.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.02898, allocations: 16.12 kB / 300 MB, free: 14.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.497e-05/0.02903, allocations: 78.75 kB / 300 MB, free: 14.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02903, allocations: 0 / 300 MB, free: 14.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006055/0.02964, allocations: 135.8 kB / 300.2 MB, free: 14.19 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 9.906e-05/0.02974, allocations: 100.3 kB / 300.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.02999, allocations: 281.2 kB / 300.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.03, allocations: 4 kB / 300.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.03017, allocations: 120.6 kB / 300.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.03154, allocations: 1.235 MB / 301.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008268/0.03981, allocations: 0.9559 MB / 302.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.03994, allocations: 129.6 kB / 303 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.0401, allocations: 52.19 kB / 303 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.04031, allocations: 141.3 kB / 303.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of SimCode: time 9.21e-07/0.04031, allocations: 0 / 303.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of Templates: time 0.008275/0.04859, allocations: 4.709 MB / 307.9 MB, free: 6.281 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8681249767541885]