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.0009563/0.0009563, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009471/0.0009471, allocations: 165.7 kB / 24.99 MB, free: 8.789 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 0.9618/0.9618, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2621/0.2621, allocations: 32.8 MB / 294.6 MB, free: 1.297 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 1.432e-06/1.432e-06, allocations: 0 / 376 MB, free: 5.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.195e-05, allocations: 2.312 kB / 376 MB, free: 5.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.006302/0.006324, allocations: 2.642 MB / 378.6 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004297/0.01062, allocations: 0.7009 MB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.01078, allocations: 11.94 kB / 379.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.01094, allocations: 47.52 kB / 379.4 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.0111, allocations: 91.14 kB / 379.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.0114, allocations: 103.8 kB / 379.6 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.01174, allocations: 354.3 kB / 379.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.0119, allocations: 54.06 kB / 380 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.01217, allocations: 191.6 kB / 380.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.01231, allocations: 103.7 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.01234, allocations: 23.94 kB / 380.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-05/0.01241, allocations: 31.94 kB / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.01245, allocations: 55.77 kB / 380.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.091e-05/0.01254, allocations: 99.73 kB / 380.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.01281, allocations: 211.2 kB / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.01281, allocations: 0 / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.01281, allocations: 0 / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.01282, allocations: 0 / 380.7 MB, free: 324 kB / 346.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.003738/0.01656, allocations: 0.6206 MB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.01659, allocations: 8.031 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.01679, allocations: 72.69 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.01706, allocations: 224 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.01708, allocations: 20.88 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.01713, allocations: 32.33 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.01748, allocations: 263.4 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.0175, allocations: 192 / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.01752, allocations: 12.38 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.01754, allocations: 11.94 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.01772, allocations: 103.5 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.0189, allocations: 1.417 MB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.01917, allocations: 220.4 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/0.02227, allocations: 74.7 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.02229, allocations: 4 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.02232, allocations: 53.27 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.02233, allocations: 0 / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001387/0.02371, allocations: 1.007 MB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.02378, allocations: 132.5 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.024, allocations: 284.2 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.02402, allocations: 33.7 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.02414, allocations: 223.3 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.02423, allocations: 123 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.553e-05/0.02433, allocations: 75.8 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.02448, allocations: 0.5079 MB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.555e-05/0.02457, allocations: 48.97 kB / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.02477, allocations: 238.6 kB / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.0251, allocations: 311.4 kB / 386.7 MB, free: 9.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.0251, allocations: 4.312 kB / 386.7 MB, free: 9.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.003448/0.02855, allocations: 305.6 kB / 387 MB, free: 9.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.02857, allocations: 12.09 kB / 387 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.02857, allocations: 4 kB / 387 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.0286, allocations: 15.94 kB / 387.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.02886, allocations: 99.81 kB / 387.2 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.02887, allocations: 4 kB / 387.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.02901, allocations: 23.98 kB / 387.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.02903, allocations: 12 kB / 387.2 MB, free: 9.145 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 0.0001097/0.02914, allocations: 184.4 kB / 387.4 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.02924, allocations: 47.81 kB / 387.4 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.0293, allocations: 33.77 kB / 387.5 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.0293, allocations: 7.938 kB / 387.5 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.02931, allocations: 0 / 387.5 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.02931, allocations: 4 kB / 387.5 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009591/0.03027, allocations: 0.9781 MB / 388.4 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03028, allocations: 0 / 388.4 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.03052, allocations: 71.89 kB / 388.5 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.03053, allocations: 8.062 kB / 388.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.03055, allocations: 8 kB / 388.5 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.03055, allocations: 0 / 388.5 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.03055, allocations: 4 kB / 388.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.0311, allocations: 0.7544 MB / 389.3 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003032/0.03413, allocations: 31.8 kB / 389.3 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.03417, allocations: 8 kB / 389.3 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.03438, allocations: 12 kB / 389.3 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.03445, allocations: 27.89 kB / 389.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.03446, allocations: 15.98 kB / 389.4 MB, free: 6.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.03458, allocations: 193.1 kB / 389.6 MB, free: 6.676 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03458, allocations: 0 / 389.6 MB, free: 6.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004568/0.03503, allocations: 68 kB / 389.6 MB, free: 6.609 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 9.541e-05/0.03513, allocations: 107.1 kB / 389.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.03543, allocations: 177.1 kB / 389.9 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.03543, allocations: 4.188 kB / 389.9 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.03556, allocations: 91.52 kB / 390 MB, free: 6.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.03613, allocations: 48.12 kB / 390.1 MB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.03899, allocations: 0.7478 MB / 390.8 MB, free: 5.371 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.37e-05/0.03908, allocations: 100.9 kB / 390.9 MB, free: 5.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.079e-05/0.03917, allocations: 30.97 kB / 390.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.03923, allocations: 24.5 kB / 391 MB, free: 5.199 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03923, allocations: 0 / 391 MB, free: 5.199 MB / 362.7 MB Notification: Performance of Templates: time 0.00415/0.04338, allocations: 2.406 MB / 393.4 MB, free: 2.824 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.1003931418526918]