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.002084/0.002084, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002557/0.002557, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.475/1.475, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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.2201/0.2201, allocations: 32.37 MB / 270 MB, free: 14.77 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|slewRateLimiter.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|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.147e-05, allocations: 2.312 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003318/0.003349, allocations: 1.654 MB / 348.6 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.004779, allocations: 0.6203 MB / 349.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.004909, allocations: 4 kB / 349.2 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.662e-05/0.004965, allocations: 15.8 kB / 349.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.005121, allocations: 15.81 kB / 349.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.005666, allocations: 151.6 kB / 349.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.005958, allocations: 159.6 kB / 349.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.00611, allocations: 21.23 kB / 349.6 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.006315, allocations: 99.78 kB / 349.7 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.006435, allocations: 47.81 kB / 349.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.017e-05/0.006475, allocations: 12 kB / 349.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.724e-05/0.006502, allocations: 16 kB / 349.7 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.006542, allocations: 35.89 kB / 349.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.00661, allocations: 43.89 kB / 349.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.006852, allocations: 147.5 kB / 349.9 MB, free: 6.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.006856, allocations: 4 kB / 350 MB, free: 6.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.006858, allocations: 3.984 kB / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.006864, allocations: 4 kB / 350 MB, free: 6.758 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.0007608/0.007625, allocations: 381.6 kB / 350.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.007666, allocations: 12.03 kB / 350.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.007754, allocations: 16.84 kB / 350.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.008096, allocations: 185.5 kB / 350.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.008117, allocations: 4.375 kB / 350.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.008166, allocations: 12.38 kB / 350.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/0.008687, allocations: 322.9 kB / 350.9 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.008703, allocations: 192 / 350.9 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.008739, allocations: 8.375 kB / 350.9 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.008745, allocations: 7.938 kB / 350.9 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.009231, allocations: 127.8 kB / 351 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.01015, allocations: 368.1 kB / 351.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.01087, allocations: 186.5 kB / 351.6 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.01114, allocations: 72.8 kB / 351.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.01117, allocations: 3.984 kB / 351.6 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.0112, allocations: 38.56 kB / 351.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.0112, allocations: 0 / 351.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.001821/0.01302, allocations: 0.4967 MB / 352.2 MB, free: 4.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.01306, allocations: 102.8 kB / 352.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.01319, allocations: 152.5 kB / 352.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.01321, allocations: 29.7 kB / 352.4 MB, free: 4.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.01327, allocations: 108.1 kB / 352.5 MB, free: 3.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.0133, allocations: 27.75 kB / 352.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.01336, allocations: 25.7 kB / 352.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.01342, allocations: 330.8 kB / 352.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.0137, allocations: 72.8 kB / 353 MB, free: 3.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.01399, allocations: 149.8 kB / 353.1 MB, free: 3.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.01449, allocations: 136.8 kB / 353.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01449, allocations: 0 / 353.3 MB, free: 3.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006096/0.0151, allocations: 201.7 kB / 353.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.01512, allocations: 6.344 kB / 353.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01512, allocations: 0 / 353.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.01515, allocations: 0 / 353.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.01539, allocations: 31.97 kB / 353.5 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.01539, allocations: 4 kB / 353.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.01557, allocations: 23.97 kB / 353.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.01559, allocations: 7.984 kB / 353.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001594/0.01575, allocations: 124.5 kB / 353.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001425/0.01589, allocations: 118 kB / 353.8 MB, free: 2.629 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002128/0.0161, allocations: 68.83 kB / 353.8 MB, free: 2.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.0161, allocations: 0 / 353.8 MB, free: 2.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002959/0.0164, allocations: 133.5 kB / 354 MB, free: 2.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/0.01641, allocations: 7.938 kB / 354 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.01641, allocations: 3.984 kB / 354 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/0.01641, allocations: 0 / 354 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.01654, allocations: 27.92 kB / 354 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.01654, allocations: 0 / 354 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.01666, allocations: 15.98 kB / 354 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01667, allocations: 0 / 354 MB, free: 2.367 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 8.256e-05/0.01675, allocations: 192.2 kB / 354.2 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.01682, allocations: 11.95 kB / 354.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.01687, allocations: 16.77 kB / 354.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01687, allocations: 0 / 354.3 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.01688, allocations: 4 kB / 354.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01688, allocations: 0 / 354.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009969/0.01788, allocations: 450.9 kB / 354.7 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01788, allocations: 0 / 354.7 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.01809, allocations: 35.97 kB / 354.7 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.0181, allocations: 4 kB / 354.7 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01811, allocations: 0 / 354.7 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.01812, allocations: 7.922 kB / 354.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.01812, allocations: 7.969 kB / 354.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.01903, allocations: 360.1 kB / 355.1 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.01905, allocations: 11.98 kB / 355.1 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.01908, allocations: 3.984 kB / 355.1 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.01945, allocations: 35.95 kB / 355.2 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.01951, allocations: 11.94 kB / 355.2 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.01953, allocations: 7.984 kB / 355.2 MB, free: 1.168 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.415e-05/0.01961, allocations: 116.1 kB / 355.3 MB, free: 1.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01961, allocations: 4.062 kB / 355.3 MB, free: 1.051 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005239/0.02013, allocations: 32 kB / 355.3 MB, free: 1.02 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 0.0001193/0.02025, allocations: 91.25 kB / 355.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007814/0.02103, allocations: 199.7 kB / 355.6 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.02104, allocations: 0 / 355.6 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.02133, allocations: 67.94 kB / 355.7 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.02192, allocations: 55.09 kB / 355.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.02268, allocations: 296.7 kB / 356 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.02275, allocations: 90.78 kB / 356.1 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.02286, allocations: 16.48 kB / 356.1 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.02293, allocations: 24.5 kB / 356.1 MB, free: 136 kB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02293, allocations: 0 / 356.1 MB, free: 136 kB / 282.7 MB Notification: Performance of Templates: time 0.008398/0.03133, allocations: 2.44 MB / 358.6 MB, free: 13.72 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.075831011054106]