Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001458/0.001458, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001529/0.001529, allocations: 167.6 kB / 25 MB, free: 8.871 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2631/0.2631, allocations: 34.26 MB / 296 MB, free: 0.6562 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.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.1.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.1.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.189e-05, allocations: 6.25 kB / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003012/0.003044, allocations: 2.626 MB / 380.6 MB, free: 332 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004285, allocations: 0.7204 MB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.004443, allocations: 11.94 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.004593, allocations: 39.53 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.004755, allocations: 99.12 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.005048, allocations: 95.8 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.005375, allocations: 354.3 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.005539, allocations: 54.08 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.005836, allocations: 199.5 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.005966, allocations: 99.69 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.005998, allocations: 20 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.006065, allocations: 24 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.006108, allocations: 63.75 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.33e-05/0.006191, allocations: 95.75 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.00647, allocations: 223.1 kB / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.006471, allocations: 0 / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006472, allocations: 0 / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.006479, allocations: 0 / 382.7 MB, free: 14.24 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.000643/0.007122, allocations: 0.6089 MB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.007157, allocations: 8.031 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.007337, allocations: 72.69 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.007584, allocations: 228 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.007601, allocations: 16.88 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.007642, allocations: 36.33 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.007956, allocations: 259.4 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.007973, allocations: 8.172 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.007993, allocations: 12.38 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.008004, allocations: 11.94 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.008152, allocations: 99.45 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.009263, allocations: 1.42 MB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.009511, allocations: 216.3 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.175e-05/0.009603, allocations: 74.84 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.009632, allocations: 4 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.009664, allocations: 45.39 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.009666, allocations: 0 / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001204/0.01087, allocations: 1.019 MB / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.01093, allocations: 140.5 kB / 386.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.01111, allocations: 276.3 kB / 387.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.01113, allocations: 33.7 kB / 387.2 MB, free: 9.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01124, allocations: 219.3 kB / 387.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.01132, allocations: 131 kB / 387.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.0114, allocations: 75.81 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.01156, allocations: 0.5118 MB / 388.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.01164, allocations: 40.97 kB / 388.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.01181, allocations: 234.7 kB / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.0121, allocations: 319 kB / 388.8 MB, free: 7.539 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01211, allocations: 8 kB / 388.8 MB, free: 7.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003545/0.01246, allocations: 300.9 kB / 389.1 MB, free: 7.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.01248, allocations: 8 kB / 389.1 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.01249, allocations: 4 kB / 389.1 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.01251, allocations: 12.34 kB / 389.1 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.01274, allocations: 99.88 kB / 389.2 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.01275, allocations: 7.938 kB / 389.2 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.159e-05/0.01284, allocations: 16 kB / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.01286, allocations: 19.98 kB / 389.2 MB, free: 7.066 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.0001028/0.01296, allocations: 184.4 kB / 389.4 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.01303, allocations: 39.81 kB / 389.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.01308, allocations: 37.77 kB / 389.5 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01308, allocations: 7.938 kB / 389.5 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01309, allocations: 4 kB / 389.5 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01309, allocations: 4 kB / 389.5 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/0.01385, allocations: 0.9665 MB / 390.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01385, allocations: 0 / 390.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.01404, allocations: 75.89 kB / 390.5 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01404, allocations: 4 kB / 390.5 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.01406, allocations: 8.438 kB / 390.5 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01406, allocations: 64 / 390.5 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01406, allocations: 11.94 kB / 390.6 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.01454, allocations: 0.7544 MB / 391.3 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.01456, allocations: 27.75 kB / 391.3 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.01459, allocations: 11.98 kB / 391.3 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.01472, allocations: 12 kB / 391.4 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.01479, allocations: 32.06 kB / 391.4 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.0148, allocations: 15.98 kB / 391.4 MB, free: 4.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.617e-05/0.0149, allocations: 189.1 kB / 391.6 MB, free: 4.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0149, allocations: 0 / 391.6 MB, free: 4.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.01521, allocations: 76 kB / 391.7 MB, free: 4.527 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 8.834e-05/0.0153, allocations: 99.3 kB / 391.8 MB, free: 4.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.01555, allocations: 180.3 kB / 391.9 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01555, allocations: 0 / 391.9 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.504e-05/0.01565, allocations: 88.33 kB / 392 MB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.01606, allocations: 56.42 kB / 392.1 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009909/0.01706, allocations: 0.7477 MB / 392.8 MB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.699e-05/0.01712, allocations: 96.86 kB / 392.9 MB, free: 3.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.481e-05/0.01721, allocations: 38.94 kB / 393 MB, free: 3.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.01726, allocations: 28.5 kB / 393 MB, free: 3.113 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01726, allocations: 0 / 393 MB, free: 3.113 MB / 362.7 MB Notification: Performance of Templates: time 0.004321/0.02159, allocations: 2.4 MB / 395.4 MB, free: 0.7461 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.258586819982156]