Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.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.001362/0.001362, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001159/0.001159, allocations: 161 kB / 24.56 MB, free: 12 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 1.007/1.007, allocations: 177.1 MB / 205 MB, free: 5.613 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.2905/0.2905, allocations: 32.81 MB / 294.3 MB, free: 1.211 MB / 266.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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.72e-05/3.949e-05, allocations: 2.312 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004554/0.004594, allocations: 2.638 MB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.005887, allocations: 0.701 MB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.006042, allocations: 11.94 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.006229, allocations: 43.52 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.00641, allocations: 95.08 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.006823, allocations: 111.7 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.007212, allocations: 342.4 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.007389, allocations: 62.12 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.007683, allocations: 191.6 kB / 380.2 MB, free: 476 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.007817, allocations: 99.69 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.007858, allocations: 24 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.549e-05/0.007923, allocations: 27.94 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.007959, allocations: 51.77 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/0.008046, allocations: 103.7 kB / 380.5 MB, free: 168 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.008337, allocations: 211.3 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.008341, allocations: 0 / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.008342, allocations: 0 / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.008348, allocations: 4 kB / 380.7 MB, free: 15.95 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006868/0.009035, allocations: 0.6205 MB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.009071, allocations: 8.031 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.009239, allocations: 68.69 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.009499, allocations: 228 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.009521, allocations: 24.88 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.009562, allocations: 28.33 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.00992, allocations: 263.4 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.009939, allocations: 4.188 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.00996, allocations: 12.38 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.009972, allocations: 7.938 kB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.01012, allocations: 107.8 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.01113, allocations: 1.413 MB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.01136, allocations: 220.4 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.222e-05/0.01143, allocations: 66.73 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.01145, allocations: 8 kB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.01148, allocations: 49.33 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.01148, allocations: 4 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001244/0.01273, allocations: 1.012 MB / 384.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.01278, allocations: 132.5 kB / 384.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.01294, allocations: 284.2 kB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.01295, allocations: 29.7 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.01304, allocations: 227.3 kB / 385.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.0131, allocations: 123 kB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.01317, allocations: 79.8 kB / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01329, allocations: 0.5079 MB / 386.2 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.01336, allocations: 44.97 kB / 386.2 MB, free: 9.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.0135, allocations: 234.6 kB / 386.4 MB, free: 9.641 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.01375, allocations: 314.8 kB / 386.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01375, allocations: 0 / 386.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003143/0.01407, allocations: 305 kB / 387 MB, free: 8.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.01408, allocations: 4 kB / 387 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01409, allocations: 8 kB / 387.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.0141, allocations: 8.172 kB / 387.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.0143, allocations: 99.81 kB / 387.2 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.01431, allocations: 8 kB / 387.2 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/0.0144, allocations: 24.33 kB / 387.2 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.01441, allocations: 16 kB / 387.2 MB, free: 8.781 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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 9.284e-05/0.0145, allocations: 188.4 kB / 387.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.01457, allocations: 43.8 kB / 387.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.01461, allocations: 33.77 kB / 387.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01461, allocations: 7.938 kB / 387.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.01462, allocations: 320 / 387.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.01462, allocations: 3.984 kB / 387.5 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007433/0.01537, allocations: 0.986 MB / 388.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01537, allocations: 0 / 388.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.01555, allocations: 75.83 kB / 388.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.01556, allocations: 0 / 388.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.01558, allocations: 8 kB / 388.5 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01558, allocations: 4 kB / 388.6 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01558, allocations: 0 / 388.6 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.01605, allocations: 0.7622 MB / 389.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.01608, allocations: 27.8 kB / 389.3 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.0161, allocations: 8 kB / 389.4 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.01622, allocations: 16.05 kB / 389.4 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.01629, allocations: 31.89 kB / 389.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.0163, allocations: 12 kB / 389.4 MB, free: 6.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.043e-05/0.01639, allocations: 189.1 kB / 389.6 MB, free: 6.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01639, allocations: 0 / 389.6 MB, free: 6.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.01667, allocations: 68 kB / 389.7 MB, free: 6.238 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0001018/0.01677, allocations: 103.2 kB / 389.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.01703, allocations: 180.4 kB / 389.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01703, allocations: 0 / 389.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.4e-05/0.01712, allocations: 83.52 kB / 390 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.01754, allocations: 49.86 kB / 390.1 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.01858, allocations: 0.7603 MB / 390.8 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.258e-05/0.01866, allocations: 92.91 kB / 390.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.245e-05/0.01874, allocations: 34.95 kB / 391 MB, free: 4.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.0188, allocations: 28.5 kB / 391 MB, free: 4.828 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0188, allocations: 0 / 391 MB, free: 4.828 MB / 362.7 MB Notification: Performance of Templates: time 0.004778/0.02358, allocations: 2.521 MB / 393.5 MB, free: 2.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.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.3530225539579988]