Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.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.00194/0.00194, allocations: 70.11 kB / 21.24 MB, free: 0.5469 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.002447/0.002447, allocations: 157.8 kB / 24.49 MB, free: 3.723 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.479/1.479, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.216/0.216, allocations: 34.27 MB / 295.5 MB, free: 14.58 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.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 71.88 kB / 443.1 MB, free: 6.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.348, allocations: 66.01 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002928/0.3509, allocations: 1.667 MB / 0.4988 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3521, allocations: 0.6235 MB / 0.4995 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.3521, allocations: 7.188 kB / 0.4995 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.3522, allocations: 7.875 kB / 0.4995 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.3523, allocations: 26.19 kB / 0.4995 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.3527, allocations: 149.9 kB / 0.4996 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3529, allocations: 155.7 kB / 0.4998 GB, free: 28.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.353, allocations: 30.12 kB / 0.4998 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.3532, allocations: 78.28 kB / 0.4999 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.919e-05/0.3533, allocations: 49.75 kB / 0.4999 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.3533, allocations: 12.97 kB / 0.4999 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.332e-05/0.3534, allocations: 24.05 kB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.3534, allocations: 37.09 kB / 0.5 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.3535, allocations: 55.55 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.3537, allocations: 136.3 kB / 0.5002 GB, free: 27.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3537, allocations: 0 / 0.5002 GB, free: 27.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3537, allocations: 0 / 0.5002 GB, free: 27.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3537, allocations: 0 / 0.5002 GB, free: 27.9 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006227/0.3543, allocations: 390 kB / 0.5006 GB, free: 27.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3544, allocations: 6.562 kB / 0.5006 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.3545, allocations: 32.36 kB / 0.5006 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3548, allocations: 162.3 kB / 0.5008 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3548, allocations: 7.75 kB / 0.5008 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.3548, allocations: 7.719 kB / 0.5008 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.3552, allocations: 326.2 kB / 0.5011 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3553, allocations: 3.219 kB / 0.5011 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.3553, allocations: 8 kB / 0.5011 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3553, allocations: 3.281 kB / 0.5011 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.3556, allocations: 121.3 kB / 0.5012 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.3563, allocations: 374.4 kB / 0.5016 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.3568, allocations: 185.6 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.357, allocations: 72.66 kB / 0.5018 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3571, allocations: 0 / 0.5018 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.3571, allocations: 33.72 kB / 0.5018 GB, free: 26.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.3571, allocations: 0 / 0.5018 GB, free: 26.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.00136/0.3584, allocations: 0.5014 MB / 0.5023 GB, free: 26.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.3585, allocations: 105.9 kB / 0.5024 GB, free: 26.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3586, allocations: 148.6 kB / 0.5026 GB, free: 26.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3586, allocations: 28.92 kB / 0.5026 GB, free: 26.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.3586, allocations: 110 kB / 0.5027 GB, free: 26.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.3587, allocations: 34.45 kB / 0.5027 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.3587, allocations: 34.77 kB / 0.5028 GB, free: 26.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.504e-05/0.3587, allocations: 321.5 kB / 0.5031 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.3589, allocations: 73.22 kB / 0.5031 GB, free: 25.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.3592, allocations: 146.7 kB / 0.5033 GB, free: 25.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.3595, allocations: 134.8 kB / 0.5034 GB, free: 25.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3595, allocations: 0 / 0.5034 GB, free: 25.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004392/0.36, allocations: 188.8 kB / 0.5036 GB, free: 25.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.36, allocations: 6.469 kB / 0.5036 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.36, allocations: 0 / 0.5036 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.36, allocations: 0 / 0.5036 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3602, allocations: 36.09 kB / 0.5036 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3602, allocations: 3.938 kB / 0.5036 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.3603, allocations: 30.61 kB / 0.5037 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3603, allocations: 3.188 kB / 0.5037 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000128/0.3604, allocations: 125 kB / 0.5038 GB, free: 25.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001161/0.3606, allocations: 113.2 kB / 0.5039 GB, free: 25.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001623/0.3607, allocations: 75.91 kB / 0.504 GB, free: 25.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.12e-07/0.3607, allocations: 4.031 kB / 0.504 GB, free: 25.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000212/0.3609, allocations: 120 kB / 0.5041 GB, free: 25.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.533e-06/0.3609, allocations: 3.062 kB / 0.5041 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/0.3609, allocations: 0 / 0.5041 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-06/0.3609, allocations: 7.031 kB / 0.5041 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.361, allocations: 18.84 kB / 0.5041 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/0.361, allocations: 3.938 kB / 0.5041 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.3611, allocations: 21.17 kB / 0.5041 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3611, allocations: 8 kB / 0.5042 GB, free: 25.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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 7.309e-05/0.3612, allocations: 189.9 kB / 0.5043 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.3612, allocations: 10.39 kB / 0.5043 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.3613, allocations: 12.77 kB / 0.5044 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3613, allocations: 3.188 kB / 0.5044 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3613, allocations: 3.938 kB / 0.5044 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3613, allocations: 0 / 0.5044 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.362, allocations: 441.2 kB / 0.5048 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.362, allocations: 0 / 0.5048 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3622, allocations: 37.62 kB / 0.5048 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3622, allocations: 0 / 0.5048 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3622, allocations: 11.97 kB / 0.5048 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3622, allocations: 7 kB / 0.5048 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3622, allocations: 288 / 0.5048 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.3629, allocations: 360.3 kB / 0.5052 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.3629, allocations: 10.42 kB / 0.5052 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.3629, allocations: 10.91 kB / 0.5052 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.3632, allocations: 33.31 kB / 0.5052 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.3632, allocations: 9.844 kB / 0.5052 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3632, allocations: 10.34 kB / 0.5053 GB, free: 24.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.089e-05/0.3633, allocations: 116.2 kB / 0.5054 GB, free: 24.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3633, allocations: 0 / 0.5054 GB, free: 24.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000311/0.3636, allocations: 33.69 kB / 0.5054 GB, free: 24.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.375e-05/0.3637, allocations: 94.34 kB / 0.5055 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005554/0.3643, allocations: 188.7 kB / 0.5057 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3643, allocations: 7.031 kB / 0.5057 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.3645, allocations: 71.09 kB / 0.5057 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.3648, allocations: 27.55 kB / 0.5058 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.3654, allocations: 301.2 kB / 0.5061 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.813e-05/0.3654, allocations: 99.23 kB / 0.5061 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.586e-05/0.3655, allocations: 27.64 kB / 0.5062 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.3655, allocations: 17.72 kB / 0.5062 GB, free: 23.91 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3655, allocations: 0 / 0.5062 GB, free: 23.91 MB / 446.1 MB Notification: Performance of Templates: time 0.005016/0.3706, allocations: 2.418 MB / 0.5086 GB, free: 23.64 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.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.0742813820252195]