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.001002/0.001002, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009488/0.0009488, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2769/0.2769, allocations: 34.26 MB / 295.7 MB, free: 0.7734 MB / 266.7 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 1.873e-06/1.873e-06, allocations: 0 / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.246e-05, allocations: 2.312 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00325/0.003283, allocations: 1.708 MB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.004653, allocations: 0.6349 MB / 380.4 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.004771, allocations: 4 kB / 380.4 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.338e-05/0.004824, allocations: 15.81 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.004964, allocations: 23.72 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.005485, allocations: 151.6 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.00573, allocations: 155.7 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.005862, allocations: 29.2 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.006086, allocations: 99.72 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.006193, allocations: 51.86 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.006226, allocations: 16 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.006286, allocations: 16 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.006321, allocations: 27.91 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.006384, allocations: 47.84 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.006615, allocations: 115.6 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.006618, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.00662, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.006626, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.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.0007098/0.007336, allocations: 472 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.007385, allocations: 12.03 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.007602, allocations: 32.83 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.007886, allocations: 171.3 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.007912, allocations: 8.375 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.007952, allocations: 8.375 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/0.00835, allocations: 308.1 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.008366, allocations: 8.125 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.008388, allocations: 12.31 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.008402, allocations: 7.938 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.008506, allocations: 34.31 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007348/0.009241, allocations: 403.4 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.009468, allocations: 79.06 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.009527, allocations: 31.72 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.009551, allocations: 4 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.009584, allocations: 37.33 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.009586, allocations: 0 / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000693/0.01028, allocations: 293.5 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.01033, allocations: 102.8 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.01048, allocations: 201.9 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.01051, allocations: 29.7 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.839e-05/0.01058, allocations: 154.8 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.01062, allocations: 31.7 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/0.01069, allocations: 35.36 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.01085, allocations: 0.5 MB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.01091, allocations: 27.61 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.011, allocations: 98.45 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.01111, allocations: 47.67 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01111, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.01129, allocations: 93.58 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.0113, allocations: 4 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01131, allocations: 3.984 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.01133, allocations: 7.984 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.01148, allocations: 31.95 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01149, allocations: 0 / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.01156, allocations: 11.98 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01157, allocations: 4 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.01e-05/0.01166, allocations: 150.7 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.736e-05/0.01174, allocations: 94.45 kB / 384.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.65e-05/0.0118, allocations: 44.17 kB / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.21e-07/0.01181, allocations: 0 / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001285/0.01193, allocations: 81.58 kB / 384.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.01194, allocations: 12.03 kB / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.01194, allocations: 0 / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-06/0.01195, allocations: 0 / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.01203, allocations: 27.92 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.01203, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.01209, allocations: 11.98 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.0121, allocations: 0 / 384.8 MB, free: 11.56 MB / 362.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 0.0001299/0.01223, allocations: 276 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.01227, allocations: 15.91 kB / 385 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.01232, allocations: 20.78 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01233, allocations: 0 / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01233, allocations: 0 / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01234, allocations: 0 / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.01286, allocations: 397 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01286, allocations: 4 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.01299, allocations: 35.91 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01299, allocations: 0 / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.013, allocations: 0 / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01301, allocations: 4 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01301, allocations: 7.969 kB / 385.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.01333, allocations: 267.4 kB / 385.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.01334, allocations: 7.953 kB / 385.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.01337, allocations: 0 / 385.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.01355, allocations: 31.97 kB / 385.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.01362, allocations: 11.92 kB / 385.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.01364, allocations: 8.031 kB / 385.8 MB, free: 10.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.01372, allocations: 154 kB / 386 MB, free: 10.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01372, allocations: 0 / 386 MB, free: 10.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003651/0.01408, allocations: 32 kB / 386 MB, free: 10.24 MB / 362.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.0001138/0.0142, allocations: 99.19 kB / 386.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.01444, allocations: 99.2 kB / 386.2 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01444, allocations: 0 / 386.2 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/0.0145, allocations: 35.67 kB / 386.2 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.0149, allocations: 50.78 kB / 386.3 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.01567, allocations: 261.7 kB / 386.5 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.461e-05/0.01573, allocations: 67.84 kB / 386.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.757e-05/0.01581, allocations: 16.47 kB / 386.6 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.01588, allocations: 16.5 kB / 386.6 MB, free: 9.535 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01588, allocations: 0 / 386.6 MB, free: 9.535 MB / 362.7 MB Notification: Performance of Templates: time 0.004957/0.02084, allocations: 2.62 MB / 389.3 MB, free: 6.953 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.0960777238942683]