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.001325/0.001325, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001601/0.001601, allocations: 160.6 kB / 24.5 MB, free: 3.715 MB / 14.72 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.485/1.485, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] 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.2128/0.2128, allocations: 34.27 MB / 295.5 MB, free: 14.56 MB / 286.1 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 0.002009/0.002009, allocations: 67.88 kB / 443.1 MB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3202, allocations: 66.01 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003299/0.3235, allocations: 2.475 MB / 0.4996 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3246, allocations: 0.6968 MB / 0.5003 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.3247, allocations: 18.59 kB / 0.5003 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.3248, allocations: 41.22 kB / 0.5004 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.325, allocations: 82.77 kB / 0.5004 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.3253, allocations: 102.7 kB / 0.5005 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.3255, allocations: 341.9 kB / 0.5009 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.3257, allocations: 59.61 kB / 0.5009 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.3259, allocations: 133.5 kB / 0.5011 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.326, allocations: 118.2 kB / 0.5012 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.326, allocations: 22.06 kB / 0.5012 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.3261, allocations: 25.56 kB / 0.5012 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.3261, allocations: 59.7 kB / 0.5013 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3262, allocations: 124.5 kB / 0.5014 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.3265, allocations: 315.9 kB / 0.5017 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.3265, allocations: 3.094 kB / 0.5017 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3265, allocations: 0 / 0.5017 GB, free: 27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3266, allocations: 0 / 0.5017 GB, free: 27 MB / 446.1 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.0007988/0.3274, allocations: 0.525 MB / 0.5022 GB, free: 26.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3274, allocations: 9.344 kB / 0.5022 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002622/0.3277, allocations: 56.94 kB / 0.5023 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.328, allocations: 213 kB / 0.5025 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.328, allocations: 22.27 kB / 0.5025 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.328, allocations: 31.61 kB / 0.5025 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.3285, allocations: 276.8 kB / 0.5028 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.3285, allocations: 16.45 kB / 0.5028 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.3285, allocations: 7 kB / 0.5028 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/0.3285, allocations: 6.656 kB / 0.5028 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.3289, allocations: 186.2 kB / 0.503 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.3301, allocations: 1.155 MB / 0.5041 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.3305, allocations: 228.8 kB / 0.5043 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.3307, allocations: 104.7 kB / 0.5044 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.3307, allocations: 3.062 kB / 0.5044 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3307, allocations: 37.47 kB / 0.5045 GB, free: 24.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.3307, allocations: 4 kB / 0.5045 GB, free: 24.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.002066/0.3328, allocations: 1.208 MB / 0.5057 GB, free: 24.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3328, allocations: 131.5 kB / 0.5058 GB, free: 23.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.333, allocations: 234.7 kB / 0.506 GB, free: 23.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.333, allocations: 33.64 kB / 0.506 GB, free: 23.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.3331, allocations: 186 kB / 0.5062 GB, free: 23.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.3331, allocations: 116.2 kB / 0.5063 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.3332, allocations: 68.98 kB / 0.5064 GB, free: 23.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.3332, allocations: 346.2 kB / 0.5067 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.3335, allocations: 96.38 kB / 0.5068 GB, free: 23.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.3337, allocations: 237.4 kB / 0.507 GB, free: 22.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.3343, allocations: 376.4 kB / 0.5074 GB, free: 22.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3343, allocations: 0 / 0.5074 GB, free: 22.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000658/0.335, allocations: 402.3 kB / 0.5078 GB, free: 22.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.335, allocations: 8.312 kB / 0.5078 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.335, allocations: 2.938 kB / 0.5078 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.335, allocations: 9.188 kB / 0.5078 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.3354, allocations: 103.7 kB / 0.5079 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3354, allocations: 6.125 kB / 0.5079 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.3356, allocations: 27.3 kB / 0.5079 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.3356, allocations: 23.88 kB / 0.508 GB, free: 22.43 MB / 446.1 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.0001089/0.3357, allocations: 149.8 kB / 0.5081 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.3358, allocations: 32.09 kB / 0.5081 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.3359, allocations: 35.61 kB / 0.5082 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3359, allocations: 6.688 kB / 0.5082 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3359, allocations: 0 / 0.5082 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3359, allocations: 3.984 kB / 0.5082 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.337, allocations: 0.8899 MB / 0.509 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.337, allocations: 0 / 0.509 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.3374, allocations: 79.86 kB / 0.5091 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.3374, allocations: 6.922 kB / 0.5091 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3374, allocations: 7.031 kB / 0.5091 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.3374, allocations: 2.906 kB / 0.5091 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3374, allocations: 10.38 kB / 0.5091 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.3382, allocations: 0.7338 MB / 0.5099 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.3383, allocations: 25.16 kB / 0.5099 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.3383, allocations: 7.25 kB / 0.5099 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.3386, allocations: 23.73 kB / 0.5099 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.3387, allocations: 30.19 kB / 0.5099 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.3387, allocations: 13.31 kB / 0.51 GB, free: 21.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.3388, allocations: 157.9 kB / 0.5101 GB, free: 20.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3388, allocations: 2.906 kB / 0.5101 GB, free: 20.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004871/0.3393, allocations: 66.25 kB / 0.5102 GB, free: 20.94 MB / 446.1 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.278e-05/0.3394, allocations: 110.2 kB / 0.5103 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.3399, allocations: 271.5 kB / 0.5105 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3399, allocations: 0 / 0.5105 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.3402, allocations: 129.1 kB / 0.5107 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.3409, allocations: 53.72 kB / 0.5107 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.342, allocations: 0.8738 MB / 0.5116 GB, free: 20.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.3422, allocations: 165 kB / 0.5117 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.3423, allocations: 35.77 kB / 0.5118 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.3424, allocations: 26.86 kB / 0.5118 GB, free: 19.95 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3424, allocations: 0 / 0.5118 GB, free: 19.95 MB / 446.1 MB Notification: Performance of Templates: time 0.006382/0.3487, allocations: 2.35 MB / 0.5141 GB, free: 19.66 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.10427777399309]