Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001918/0.001918, allocations: 75.05 kB / 19.93 MB, free: 1.781 MB / 14.72 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.002448/0.002448, allocations: 166.5 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2216/0.2216, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 407.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.822e-05, allocations: 2.281 kB / 407.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004613/0.004641, allocations: 2.799 MB / 410.2 MB, free: 216 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.0056, allocations: 422.4 kB / 410.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.005768, allocations: 11.94 kB / 410.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.005918, allocations: 67.3 kB / 410.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.006302, allocations: 178.4 kB / 410.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.006582, allocations: 103.8 kB / 410.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007641/0.007346, allocations: 0.5595 MB / 411.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.007633, allocations: 117.2 kB / 411.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.008072, allocations: 323.2 kB / 411.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.008362, allocations: 155.6 kB / 412.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/0.008435, allocations: 40 kB / 412.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-05/0.008522, allocations: 40 kB / 412.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.008627, allocations: 95.66 kB / 412.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.008866, allocations: 179.6 kB / 412.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007289/0.009595, allocations: 0.5218 MB / 412.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.009603, allocations: 4 kB / 412.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.009605, allocations: 0 / 412.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.009614, allocations: 0 / 412.9 MB, free: 13.41 MB / 350.1 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.001265/0.01088, allocations: 0.6454 MB / 413.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.01093, allocations: 8.031 kB / 413.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.01105, allocations: 52.66 kB / 413.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.01143, allocations: 240.8 kB / 413.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.01147, allocations: 37.38 kB / 413.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-05/0.01157, allocations: 60.31 kB / 414 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007972/0.01237, allocations: 454.7 kB / 414.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.01241, allocations: 16.02 kB / 414.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.01245, allocations: 20.38 kB / 414.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.01247, allocations: 12.38 kB / 414.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.01297, allocations: 259.7 kB / 414.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.01537, allocations: 1.488 MB / 416.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.01605, allocations: 411.5 kB / 416.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.01628, allocations: 151.6 kB / 416.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.01631, allocations: 4 kB / 416.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.01635, allocations: 46.5 kB / 416.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.756e-06/0.01636, allocations: 0 / 416.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008551/0.01721, allocations: 361.7 kB / 417.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.01738, allocations: 261 kB / 417.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.01767, allocations: 250 kB / 417.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.01772, allocations: 37.7 kB / 417.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.01792, allocations: 244.2 kB / 417.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.01809, allocations: 194.4 kB / 418.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.01825, allocations: 118.6 kB / 418.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.01843, allocations: 350.7 kB / 418.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.01864, allocations: 117.9 kB / 418.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.01914, allocations: 414 kB / 419.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/0.0199, allocations: 0.5771 MB / 419.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.0199, allocations: 0 / 419.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000912/0.02081, allocations: 0.5638 MB / 420.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.02084, allocations: 20.19 kB / 420.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.02085, allocations: 8 kB / 420.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.642e-05/0.02091, allocations: 19.98 kB / 420.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.0215, allocations: 172.4 kB / 420.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.782e-05/0.02153, allocations: 19.92 kB / 420.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.02184, allocations: 67.52 kB / 420.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.02188, allocations: 32 kB / 420.6 MB, free: 5.117 MB / 350.1 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.0002617/0.02214, allocations: 185.5 kB / 420.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.02238, allocations: 39.75 kB / 420.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.825e-05/0.02248, allocations: 45.77 kB / 420.8 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.02249, allocations: 11.98 kB / 420.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.0225, allocations: 4 kB / 420.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.0225, allocations: 4 kB / 420.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009567/0.02346, allocations: 312.9 kB / 421.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.02347, allocations: 7.938 kB / 421.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.02405, allocations: 123.9 kB / 421.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.02406, allocations: 4 kB / 421.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.02409, allocations: 8 kB / 421.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.02409, allocations: 7.938 kB / 421.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.0241, allocations: 4 kB / 421.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.02513, allocations: 1.087 MB / 422.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.02519, allocations: 31.75 kB / 422.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.02524, allocations: 15.98 kB / 422.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.02565, allocations: 8 kB / 422.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.0257, allocations: 31.89 kB / 422.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.02573, allocations: 16 kB / 422.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.02588, allocations: 157.2 kB / 422.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02588, allocations: 0 / 422.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008692/0.02675, allocations: 139.7 kB / 422.8 MB, free: 2.828 MB / 350.1 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.0002586/0.027, allocations: 127 kB / 422.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006159/0.02762, allocations: 334.2 kB / 423.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.02763, allocations: 4 kB / 423.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.02781, allocations: 120.5 kB / 423.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.0291, allocations: 90.06 kB / 423.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.03172, allocations: 1.488 MB / 424.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.03202, allocations: 224.3 kB / 425.2 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000174/0.0322, allocations: 55.42 kB / 425.2 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.03228, allocations: 32.5 kB / 425.2 MB, free: 296 kB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.03228, allocations: 3.938 kB / 425.2 MB, free: 292 kB / 350.1 MB Notification: Performance of Templates: time 0.01028/0.04257, allocations: 4.08 MB / 429.3 MB, free: 12.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.517486855387688]