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.0009557/0.0009557, 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.0009945/0.0009945, allocations: 165.4 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 0.9707/0.9707, allocations: 177.1 MB / 205 MB, free: 5.281 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.2445/0.2445, allocations: 34.25 MB / 295.7 MB, free: 0.7031 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.813e-06/1.813e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.927e-05, allocations: 2.312 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.006844/0.006873, allocations: 3.068 MB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.009934, allocations: 426.4 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.0102, allocations: 11.94 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.01034, allocations: 63.31 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.01069, allocations: 174.4 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.01096, allocations: 107.8 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.01145, allocations: 0.5595 MB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.01167, allocations: 113.1 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.01204, allocations: 319.4 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.01225, allocations: 159.6 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.01231, allocations: 40 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.002e-05/0.01237, allocations: 40 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.01243, allocations: 95.64 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.01256, allocations: 187.6 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.0129, allocations: 342.7 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.01291, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.01291, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.01292, allocations: 3.938 kB / 383.7 MB, free: 12.97 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.0007041/0.01363, allocations: 0.7454 MB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.01366, allocations: 15.97 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.01377, allocations: 92.66 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.01401, allocations: 236.4 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.01403, allocations: 33.31 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.0141, allocations: 60.33 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.01451, allocations: 400.1 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.01454, allocations: 12.12 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.01456, allocations: 20.38 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.01458, allocations: 12.38 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.01481, allocations: 185.8 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.01629, allocations: 1.912 MB / 387.4 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.01666, allocations: 416.2 kB / 387.8 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.01679, allocations: 153.2 kB / 387.9 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.0168, allocations: 12 kB / 388 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.01684, allocations: 53.31 kB / 388 MB, free: 8.301 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.963e-06/0.01684, allocations: 0 / 388 MB, free: 8.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004754/0.01731, allocations: 306 kB / 388.3 MB, free: 7.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.01741, allocations: 277 kB / 388.6 MB, free: 7.664 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.01758, allocations: 292.3 kB / 388.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.0176, allocations: 33.7 kB / 388.9 MB, free: 7.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.01774, allocations: 298.9 kB / 389.2 MB, free: 7.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.618e-05/0.01784, allocations: 186.5 kB / 389.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.01794, allocations: 116.8 kB / 389.5 MB, free: 6.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.01809, allocations: 0.5235 MB / 390 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.0182, allocations: 73.94 kB / 390.1 MB, free: 6.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.01849, allocations: 496.9 kB / 390.6 MB, free: 5.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.01898, allocations: 0.6146 MB / 391.2 MB, free: 4.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.01899, allocations: 4 kB / 391.2 MB, free: 4.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005323/0.01952, allocations: 0.509 MB / 391.7 MB, free: 4.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.01954, allocations: 11.94 kB / 391.7 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.01956, allocations: 12 kB / 391.7 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.01958, allocations: 16 kB / 391.7 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.01991, allocations: 176.3 kB / 391.9 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.01992, allocations: 19.92 kB / 391.9 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.02007, allocations: 67.52 kB / 392 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.0201, allocations: 36.31 kB / 392 MB, free: 3.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.0001213/0.02022, allocations: 216.1 kB / 392.2 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.02033, allocations: 47.81 kB / 392.3 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.748e-05/0.0204, allocations: 41.77 kB / 392.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.02041, allocations: 8 kB / 392.3 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.02042, allocations: 8 kB / 392.3 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.02043, allocations: 3.984 kB / 392.3 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.02098, allocations: 304.2 kB / 392.6 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.02098, allocations: 0 / 392.6 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.0213, allocations: 123.9 kB / 392.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.02131, allocations: 4 kB / 392.8 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.02134, allocations: 19.98 kB / 392.8 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.02134, allocations: 4 kB / 392.8 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.02134, allocations: 3.938 kB / 392.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.02207, allocations: 1.422 MB / 394.2 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.02211, allocations: 39.64 kB / 394.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.02215, allocations: 16 kB / 394.3 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.02237, allocations: 8 kB / 394.3 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.02242, allocations: 39.88 kB / 394.3 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.02244, allocations: 12 kB / 394.3 MB, free: 1.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.02255, allocations: 197.1 kB / 394.5 MB, free: 1.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02255, allocations: 0 / 394.5 MB, free: 1.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005396/0.02309, allocations: 135.8 kB / 394.7 MB, free: 1.074 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 9.958e-05/0.02318, allocations: 103.2 kB / 394.8 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.02352, allocations: 307.8 kB / 395.1 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02352, allocations: 0 / 395.1 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.02362, allocations: 119.4 kB / 395.2 MB, free: 0.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.02434, allocations: 103.9 kB / 395.3 MB, free: 460 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.02613, allocations: 1.516 MB / 396.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.02623, allocations: 117.8 kB / 396.9 MB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.02635, allocations: 47.38 kB / 397 MB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.02641, allocations: 40.5 kB / 397 MB, free: 14.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02641, allocations: 0 / 397 MB, free: 14.64 MB / 378.7 MB Notification: Performance of Templates: time 0.006899/0.03331, allocations: 4.349 MB / 401.3 MB, free: 10.38 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.2408821620047092]