Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 92.27 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3773/0.3773, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.542e-05, allocations: 4.844 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003532/0.003568, allocations: 1.669 MB / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.004992, allocations: 0.6194 MB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.00508, allocations: 3.938 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.005121, allocations: 11.88 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.005258, allocations: 27.72 kB / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.00576, allocations: 147.6 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.00603, allocations: 159.6 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.00616, allocations: 25.23 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.006405, allocations: 99.78 kB / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.006516, allocations: 47.86 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.006551, allocations: 20 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.006608, allocations: 16 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.006651, allocations: 39.83 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.006733, allocations: 35.94 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.007006, allocations: 155.5 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.00701, allocations: 0 / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.007012, allocations: 3.938 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.007019, allocations: 0 / 380.3 MB, free: 15.83 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.0008656/0.007884, allocations: 381.7 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.007932, allocations: 12.03 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.008132, allocations: 24.89 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.008501, allocations: 173.3 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.008522, allocations: 8.375 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.008567, allocations: 12.38 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.00915, allocations: 325.4 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.009162, allocations: 4.125 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.009184, allocations: 4.375 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.009192, allocations: 7.938 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.009616, allocations: 127.9 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000964/0.01058, allocations: 364.1 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.01122, allocations: 190.4 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.01145, allocations: 68.8 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.01148, allocations: 8 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.01152, allocations: 38.56 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.01152, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.00165/0.01317, allocations: 0.4891 MB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.01327, allocations: 106.8 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.01344, allocations: 150.4 kB / 382.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.01347, allocations: 29.7 kB / 382.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.497e-05/0.01356, allocations: 108 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.167e-05/0.01363, allocations: 35.73 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.0137, allocations: 25.7 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.01389, allocations: 330.8 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.01413, allocations: 72.8 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.01443, allocations: 149.9 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.01487, allocations: 137 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.01488, allocations: 4.031 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005246/0.0154, allocations: 193.4 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.01542, allocations: 8 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01543, allocations: 0 / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.01544, allocations: 0 / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.01565, allocations: 39.95 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01566, allocations: 0.5469 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.0158, allocations: 23.97 kB / 383.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.01581, allocations: 7.938 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001758/0.01599, allocations: 124 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001667/0.01615, allocations: 117.9 kB / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002007/0.01635, allocations: 76.81 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.01636, allocations: 3.984 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002863/0.01664, allocations: 117.5 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.01665, allocations: 8 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.01665, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.01666, allocations: 0 / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01676, allocations: 24.02 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.01676, allocations: 4 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.01686, allocations: 11.98 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.01686, allocations: 0 / 384.3 MB, free: 11.44 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.0001431/0.017, allocations: 196.1 kB / 384.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.01706, allocations: 19.91 kB / 384.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.01711, allocations: 12.78 kB / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01711, allocations: 0 / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01711, allocations: 0 / 384.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01712, allocations: 4 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.01808, allocations: 438.8 kB / 385 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01808, allocations: 0 / 385 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.01827, allocations: 43.98 kB / 385 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01827, allocations: 0 / 385 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.01828, allocations: 4 kB / 385 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.01829, allocations: 4 kB / 385 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.01829, allocations: 7.938 kB / 385 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/0.01916, allocations: 360.1 kB / 385.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.01918, allocations: 11.92 kB / 385.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.01921, allocations: 4 kB / 385.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.0195, allocations: 40.02 kB / 385.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.01955, allocations: 11.92 kB / 385.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.01957, allocations: 8 kB / 385.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.768e-05/0.01967, allocations: 112.1 kB / 385.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01967, allocations: 0 / 385.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.02, allocations: 32 kB / 385.6 MB, free: 10.09 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.0002441/0.02025, allocations: 99.19 kB / 385.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.0209, allocations: 188.4 kB / 385.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0209, allocations: 0 / 385.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.02115, allocations: 83.92 kB / 386 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.02156, allocations: 38.84 kB / 386 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.02227, allocations: 293.2 kB / 386.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.02237, allocations: 93.81 kB / 386.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.268e-05/0.02247, allocations: 20.47 kB / 386.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.02253, allocations: 16.5 kB / 386.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02253, allocations: 0 / 386.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of Templates: time 0.006246/0.02878, allocations: 2.429 MB / 388.9 MB, free: 6.824 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.019244523951784]