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.0008243/0.0008243, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007753/0.0007753, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8384/0.8384, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1176/0.1176, allocations: 32.37 MB / 270.4 MB, free: 14.97 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 1.342e-06/1.342e-06, allocations: 0 / 408.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.983e-05, allocations: 10.22 kB / 408.1 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001932/0.001951, allocations: 1.657 MB / 409.7 MB, free: 80 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003028, allocations: 0.6165 MB / 410.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.003102, allocations: 7.938 kB / 410.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.003133, allocations: 11.86 kB / 410.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.092e-05/0.003224, allocations: 27.73 kB / 410.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.003525, allocations: 143.6 kB / 410.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.003694, allocations: 159.6 kB / 410.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.003818, allocations: 25.28 kB / 410.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.003937, allocations: 99.73 kB / 410.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.004022, allocations: 43.86 kB / 410.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.004052, allocations: 12 kB / 410.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.004068, allocations: 16 kB / 410.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.004097, allocations: 31.91 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.004135, allocations: 47.83 kB / 411 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.004301, allocations: 151.6 kB / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004304, allocations: 0 / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004305, allocations: 0 / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.00431, allocations: 0 / 411.1 MB, free: 14.69 MB / 394.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.0004782/0.004788, allocations: 389.6 kB / 411.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.004821, allocations: 12.03 kB / 411.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.004861, allocations: 12.89 kB / 411.5 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.005062, allocations: 166.2 kB / 411.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.005076, allocations: 12.31 kB / 411.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.005096, allocations: 8.312 kB / 411.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.005392, allocations: 334.8 kB / 412 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.005401, allocations: 192 / 412 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.005416, allocations: 8.375 kB / 412 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.005423, allocations: 11.88 kB / 412.1 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.005618, allocations: 111.9 kB / 412.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.006106, allocations: 380.1 kB / 412.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.006415, allocations: 194.4 kB / 412.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.006519, allocations: 64.8 kB / 412.8 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.00654, allocations: 8 kB / 412.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.006562, allocations: 30.56 kB / 412.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.006563, allocations: 0 / 412.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008186/0.007381, allocations: 0.4973 MB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.00742, allocations: 102.8 kB / 413.4 MB, free: 12.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.259e-05/0.007503, allocations: 154.2 kB / 413.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.007516, allocations: 25.7 kB / 413.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.00756, allocations: 112.1 kB / 413.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.007587, allocations: 35.69 kB / 413.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.007622, allocations: 29.7 kB / 413.8 MB, free: 11.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.007694, allocations: 330.8 kB / 414.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.007806, allocations: 76.8 kB / 414.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.007934, allocations: 137.9 kB / 414.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.008137, allocations: 145 kB / 414.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.008138, allocations: 0 / 414.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002501/0.008388, allocations: 193.4 kB / 414.6 MB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.008399, allocations: 4 kB / 414.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.008402, allocations: 0 / 414.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.008412, allocations: 0 / 414.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.008515, allocations: 43.89 kB / 414.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.008519, allocations: 160 / 414.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.008578, allocations: 23.97 kB / 414.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.008583, allocations: 4 kB / 414.7 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.936e-05/0.008663, allocations: 124 kB / 414.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.321e-05/0.008736, allocations: 117.9 kB / 415 MB, free: 10.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.76e-05/0.008824, allocations: 68.77 kB / 415 MB, free: 10.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.51e-07/0.008824, allocations: 0 / 415 MB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001303/0.008954, allocations: 133.5 kB / 415.1 MB, free: 10.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-06/0.008958, allocations: 4 kB / 415.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.01e-07/0.008958, allocations: 0 / 415.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-06/0.008961, allocations: 4.359 kB / 415.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.065e-05/0.009001, allocations: 23.98 kB / 415.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.22e-07/0.009002, allocations: 0 / 415.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.009039, allocations: 11.98 kB / 415.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-06/0.009042, allocations: 7.938 kB / 415.2 MB, free: 10.29 MB / 394.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 6.39e-05/0.009106, allocations: 188.2 kB / 415.4 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.009127, allocations: 11.95 kB / 415.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.009162, allocations: 20.77 kB / 415.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.009163, allocations: 3.938 kB / 415.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.009166, allocations: 0 / 415.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.009169, allocations: 0 / 415.4 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.009618, allocations: 446.8 kB / 415.9 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.009618, allocations: 0 / 415.9 MB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.009699, allocations: 39.95 kB / 415.9 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.0097, allocations: 0 / 415.9 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.009708, allocations: 0 / 415.9 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.00971, allocations: 8.031 kB / 415.9 MB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.009711, allocations: 3.938 kB / 415.9 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.0101, allocations: 352.1 kB / 416.2 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.01011, allocations: 19.92 kB / 416.3 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.01013, allocations: 4 kB / 416.3 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01024, allocations: 35.95 kB / 416.3 MB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.01027, allocations: 15.92 kB / 416.3 MB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.01028, allocations: 4 kB / 416.3 MB, free: 9.102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.925e-05/0.01033, allocations: 128.1 kB / 416.5 MB, free: 8.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01033, allocations: 0 / 416.5 MB, free: 8.977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001883/0.01052, allocations: 35.94 kB / 416.5 MB, free: 8.941 MB / 394.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.28e-05/0.01058, allocations: 91.25 kB / 416.6 MB, free: 8.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.01088, allocations: 191.8 kB / 416.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01088, allocations: 0 / 416.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.01099, allocations: 76.33 kB / 416.8 MB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.01121, allocations: 27.98 kB / 416.9 MB, free: 8.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.0116, allocations: 320.1 kB / 417.2 MB, free: 8.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.01189, allocations: 94.77 kB / 417.3 MB, free: 8.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.01193, allocations: 20.5 kB / 417.3 MB, free: 8.07 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.01193, allocations: 0 / 417.3 MB, free: 8.07 MB / 394.7 MB Notification: Performance of Templates: time 0.002334/0.01427, allocations: 1.921 MB / 419.2 MB, free: 6.152 MB / 394.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: 4.567517375573516]