Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001016/0.001016, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001461/0.001461, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8154/0.8154, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1448/0.1448, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.203e-05, allocations: 6.25 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002149/0.002171, allocations: 1.71 MB / 349.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009648/0.003136, allocations: 0.6281 MB / 350 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.777e-05/0.003234, allocations: 7.938 kB / 350 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.003275, allocations: 11.86 kB / 350 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.003376, allocations: 19.75 kB / 350 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.00374, allocations: 139.7 kB / 350.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.00391, allocations: 167.5 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.004023, allocations: 17.3 kB / 350.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.004151, allocations: 95.78 kB / 350.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.004236, allocations: 51.86 kB / 350.5 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.004264, allocations: 12 kB / 350.5 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.004283, allocations: 16 kB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.004311, allocations: 31.91 kB / 350.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.004352, allocations: 43.84 kB / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.004498, allocations: 115.6 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.0045, allocations: 0 / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004501, allocations: 4 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.004506, allocations: 0 / 350.7 MB, free: 6.387 MB / 282.7 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.0004505/0.004956, allocations: 471.9 kB / 351.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.004992, allocations: 8.031 kB / 351.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.005048, allocations: 28.78 kB / 351.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.005243, allocations: 176.3 kB / 351.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.005263, allocations: 8.375 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.005299, allocations: 16.31 kB / 351.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.005579, allocations: 312.1 kB / 351.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.00559, allocations: 192 / 351.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.005609, allocations: 8.375 kB / 351.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.005617, allocations: 3.938 kB / 351.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.005697, allocations: 38.16 kB / 351.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.006227, allocations: 399.4 kB / 352.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.006396, allocations: 87.03 kB / 352.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.006442, allocations: 31.66 kB / 352.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.006468, allocations: 4 kB / 352.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.006488, allocations: 37.39 kB / 352.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.006489, allocations: 0 / 352.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005082/0.006997, allocations: 285.7 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.007023, allocations: 106.8 kB / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.007112, allocations: 204.1 kB / 352.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.007123, allocations: 29.7 kB / 352.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.007163, allocations: 154.8 kB / 353.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.007191, allocations: 35.64 kB / 353.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.007235, allocations: 35.36 kB / 353.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.007283, allocations: 0.4961 MB / 353.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.685e-05/0.007329, allocations: 31.67 kB / 353.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.168e-05/0.007391, allocations: 98.45 kB / 353.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/0.007469, allocations: 47.61 kB / 353.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.00747, allocations: 4.031 kB / 353.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001291/0.007599, allocations: 89.92 kB / 353.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.00761, allocations: 7.984 kB / 353.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.007614, allocations: 0 / 353.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.00763, allocations: 0 / 353.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.007747, allocations: 27.92 kB / 353.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007752, allocations: 8.172 kB / 353.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.007813, allocations: 11.98 kB / 354 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.007823, allocations: 11.98 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.726e-05/0.00787, allocations: 146.8 kB / 354.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.521e-05/0.007916, allocations: 98.48 kB / 354.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.471e-05/0.00796, allocations: 43.61 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.007961, allocations: 4 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 9.141e-05/0.008053, allocations: 85.53 kB / 354.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.748e-06/0.008058, allocations: 4 kB / 354.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-06/0.008059, allocations: 0 / 354.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-06/0.00806, allocations: 4 kB / 354.3 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.008112, allocations: 19.98 kB / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-06/0.008114, allocations: 0 / 354.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.008161, allocations: 20.02 kB / 354.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.008165, allocations: 0 / 354.4 MB, free: 2.348 MB / 282.7 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 5.419e-05/0.008219, allocations: 276 kB / 354.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.008253, allocations: 15.95 kB / 354.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.008289, allocations: 12.78 kB / 354.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.008291, allocations: 0 / 354.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.008295, allocations: 0 / 354.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008299, allocations: 3.984 kB / 354.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.00865, allocations: 401.1 kB / 355.1 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.008652, allocations: 15.95 kB / 355.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.008741, allocations: 23.98 kB / 355.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.008743, allocations: 0 / 355.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.008754, allocations: 0 / 355.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.008756, allocations: 4 kB / 355.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008757, allocations: 3.938 kB / 355.1 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.008947, allocations: 267.4 kB / 355.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.008959, allocations: 7.953 kB / 355.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.008977, allocations: 4 kB / 355.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.009123, allocations: 32 kB / 355.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.00916, allocations: 15.92 kB / 355.4 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.009171, allocations: 7.984 kB / 355.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.009215, allocations: 148 kB / 355.6 MB, free: 1.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009215, allocations: 3.938 kB / 355.6 MB, free: 1.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.009514, allocations: 36 kB / 355.6 MB, free: 1.023 MB / 282.7 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 6.578e-05/0.00958, allocations: 99.17 kB / 355.7 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.009754, allocations: 95.27 kB / 355.8 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.009756, allocations: 0 / 355.8 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.005e-05/0.009806, allocations: 44.34 kB / 355.9 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.01012, allocations: 40.61 kB / 355.9 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.01066, allocations: 257.3 kB / 356.2 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.01069, allocations: 67.84 kB / 356.2 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.01075, allocations: 20.55 kB / 356.2 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.0108, allocations: 20.5 kB / 356.3 MB, free: 324 kB / 282.7 MB Notification: Performance of SimCode: time 5.92e-07/0.0108, allocations: 0 / 356.3 MB, free: 324 kB / 282.7 MB Notification: Performance of Templates: time 0.004394/0.0152, allocations: 2.445 MB / 358.7 MB, free: 13.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.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.2452762937173247]