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.001499/0.001499, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001546/0.001546, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.138/1.138, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3328/0.3328, allocations: 34.26 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.753e-06/1.753e-06, allocations: 0 / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.339e-05/4.514e-05, allocations: 5.547 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.01052/0.01056, allocations: 3.025 MB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.01178, allocations: 422.5 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.01208, allocations: 7.938 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.01223, allocations: 67.31 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.01265, allocations: 178.4 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.01295, allocations: 99.84 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.01349, allocations: 0.5711 MB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.01374, allocations: 109.2 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.01414, allocations: 319.4 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.01437, allocations: 163.5 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.01442, allocations: 40 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.01448, allocations: 40 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.01455, allocations: 99.59 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.01471, allocations: 175.7 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.01513, allocations: 350.6 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.01514, allocations: 4 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.01514, allocations: 0 / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.01515, allocations: 4 kB / 384.1 MB, free: 12.72 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.0009585/0.01611, allocations: 0.7531 MB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.01616, allocations: 8.031 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.01627, allocations: 88.66 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.01657, allocations: 236.3 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.0166, allocations: 37.38 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.01666, allocations: 52.33 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.01704, allocations: 379.9 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.01706, allocations: 16.06 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.01709, allocations: 24.38 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.01711, allocations: 16.38 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.01728, allocations: 150.2 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.01938, allocations: 1.869 MB / 387.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.01973, allocations: 392 kB / 388.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.01985, allocations: 149.3 kB / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.01987, allocations: 11.94 kB / 388.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.01991, allocations: 53.31 kB / 388.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.455e-06/0.01991, allocations: 0 / 388.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004496/0.02036, allocations: 278 kB / 388.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.02048, allocations: 273.5 kB / 388.9 MB, free: 7.574 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.02068, allocations: 300.2 kB / 389.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.0207, allocations: 33.7 kB / 389.2 MB, free: 7.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.02088, allocations: 302.8 kB / 389.5 MB, free: 6.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.02099, allocations: 190.4 kB / 389.7 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.02109, allocations: 120.2 kB / 389.8 MB, free: 6.609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.02129, allocations: 0.5273 MB / 390.3 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.02136, allocations: 53.94 kB / 390.4 MB, free: 6.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.0217, allocations: 484.8 kB / 390.8 MB, free: 5.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.02218, allocations: 0.5916 MB / 391.4 MB, free: 4.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.02219, allocations: 4 kB / 391.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004743/0.02266, allocations: 484.7 kB / 391.9 MB, free: 4.086 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.02269, allocations: 13.86 kB / 391.9 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.0227, allocations: 12.84 kB / 391.9 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.02273, allocations: 16 kB / 391.9 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.02304, allocations: 179.7 kB / 392.1 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.02305, allocations: 15.94 kB / 392.1 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.02322, allocations: 63.58 kB / 392.2 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.02325, allocations: 28 kB / 392.2 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.0001708/0.02342, allocations: 212.2 kB / 392.4 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.02354, allocations: 47.81 kB / 392.5 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.075e-05/0.02361, allocations: 45.75 kB / 392.5 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.02362, allocations: 11.98 kB / 392.5 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.02363, allocations: 0 / 392.5 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.02364, allocations: 8 kB / 392.5 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.02424, allocations: 260.8 kB / 392.8 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.02424, allocations: 4 kB / 392.8 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.02455, allocations: 119.9 kB / 392.9 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.02456, allocations: 4 kB / 392.9 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.02458, allocations: 16 kB / 392.9 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.02459, allocations: 4 kB / 392.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.02459, allocations: 0 / 392.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.02576, allocations: 1.411 MB / 394.4 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.0258, allocations: 43.62 kB / 394.4 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.02583, allocations: 8 kB / 394.4 MB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.02604, allocations: 12 kB / 394.4 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.02607, allocations: 31.89 kB / 394.4 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.02609, allocations: 16.05 kB / 394.5 MB, free: 1.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.263e-05/0.02617, allocations: 185.1 kB / 394.6 MB, free: 1.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02617, allocations: 7.938 kB / 394.6 MB, free: 1.273 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.02677, allocations: 135.8 kB / 394.8 MB, free: 1.141 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 0.0001522/0.02692, allocations: 111.8 kB / 394.9 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.02727, allocations: 275.8 kB / 395.2 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.02727, allocations: 4.062 kB / 395.2 MB, free: 0.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.02737, allocations: 111.4 kB / 395.3 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.02815, allocations: 96.81 kB / 395.4 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.03015, allocations: 1.516 MB / 396.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.03029, allocations: 121.7 kB / 397 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000162/0.03045, allocations: 43.45 kB / 397 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.03065, allocations: 162.1 kB / 397.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.793e-06/0.03065, allocations: 0 / 397.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of Templates: time 0.008654/0.03931, allocations: 4.48 MB / 401.7 MB, free: 10.23 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.645411165431142]