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.002311/0.002311, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002017/0.002017, allocations: 160.8 kB / 24.27 MB, free: 156 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.536/1.536, allocations: 177 MB / 204.5 MB, free: 5.617 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.3328/0.3328, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 180] 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 1.213e-06/1.213e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.804e-05, allocations: 6.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003053/0.003081, allocations: 1.677 MB / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.004358, allocations: 0.6311 MB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.059e-05/0.004439, allocations: 3.938 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.004475, allocations: 15.86 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.004584, allocations: 19.75 kB / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.005027, allocations: 151.6 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.005268, allocations: 159.6 kB / 379.9 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.005379, allocations: 29.23 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.005614, allocations: 99.78 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.005721, allocations: 43.88 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.005759, allocations: 23.94 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.331e-05/0.005813, allocations: 12 kB / 380.1 MB, free: 52 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.005857, allocations: 39.89 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.928e-05/0.005937, allocations: 39.89 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.006191, allocations: 155.5 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.006193, allocations: 4 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.006194, allocations: 0 / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.006199, allocations: 0 / 380.3 MB, free: 15.82 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.0007298/0.006928, allocations: 471.7 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.006964, allocations: 12.03 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.007136, allocations: 28.89 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.007443, allocations: 180.1 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.007463, allocations: 12.36 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.007496, allocations: 8.375 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.007988, allocations: 315.5 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.008001, allocations: 192 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.008023, allocations: 12.38 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.008031, allocations: 3.938 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.00836, allocations: 99.86 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.009223, allocations: 423.4 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.009717, allocations: 155 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.00989, allocations: 59.66 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.009922, allocations: 7.984 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.009961, allocations: 33.39 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.009962, allocations: 8 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001293/0.01126, allocations: 421.3 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.01134, allocations: 114.8 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.01155, allocations: 213.8 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.01158, allocations: 29.7 kB / 382.8 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.0117, allocations: 166.7 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.01175, allocations: 31.89 kB / 383 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/0.01182, allocations: 35.36 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002725/0.01209, allocations: 0.5 MB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.01228, allocations: 59.66 kB / 383.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.01253, allocations: 146.4 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.01287, allocations: 111.6 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01287, allocations: 0 / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004268/0.01329, allocations: 161.5 kB / 384 MB, free: 11.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.01331, allocations: 8 kB / 384 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.01332, allocations: 4.031 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.01333, allocations: 0 / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.01351, allocations: 27.97 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01352, allocations: 0.5469 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.01363, allocations: 15.98 kB / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.01364, allocations: 0 / 384.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001872/0.01383, allocations: 170.8 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001525/0.01398, allocations: 114.4 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001721/0.01415, allocations: 76.12 kB / 384.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.01416, allocations: 3.984 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002384/0.01439, allocations: 113.6 kB / 384.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.0144, allocations: 6.812 kB / 384.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-06/0.01441, allocations: 0 / 384.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-06/0.01441, allocations: 4 kB / 384.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.0145, allocations: 15.98 kB / 384.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-06/0.01451, allocations: 4 kB / 384.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.659e-05/0.01459, allocations: 11.98 kB / 384.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.0146, allocations: 4 kB / 384.6 MB, free: 11.13 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.0001918/0.01479, allocations: 280 kB / 384.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.01484, allocations: 19.91 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.0149, allocations: 16.77 kB / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.0149, allocations: 0 / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01491, allocations: 0 / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01491, allocations: 4 kB / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008856/0.0158, allocations: 476.9 kB / 385.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.0158, allocations: 4 kB / 385.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.01595, allocations: 27.97 kB / 385.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01595, allocations: 0 / 385.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.01596, allocations: 4 kB / 385.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.01598, allocations: 4 kB / 385.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.01598, allocations: 3.938 kB / 385.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/0.01669, allocations: 379.3 kB / 385.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.01671, allocations: 11.94 kB / 385.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.01674, allocations: 0 / 385.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.01698, allocations: 36 kB / 385.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.01703, allocations: 11.92 kB / 385.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.01705, allocations: 4 kB / 385.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.01717, allocations: 160 kB / 386 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01717, allocations: 0 / 386 MB, free: 9.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.01748, allocations: 36 kB / 386.1 MB, free: 9.605 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.000124/0.0176, allocations: 95.25 kB / 386.1 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.01813, allocations: 179.2 kB / 386.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01814, allocations: 3.938 kB / 386.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.01833, allocations: 71.58 kB / 386.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.01871, allocations: 38.22 kB / 386.4 MB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.01942, allocations: 289.5 kB / 386.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.01952, allocations: 97.88 kB / 386.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.766e-05/0.01962, allocations: 16.48 kB / 386.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.01969, allocations: 20.5 kB / 386.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01969, allocations: 0 / 386.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of Templates: time 0.006488/0.02618, allocations: 2.441 MB / 389.3 MB, free: 6.332 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] 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: 4.952858640928753]