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.0014/0.0014, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001276/0.001276, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9908/0.9908, allocations: 177 MB / 204.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2778/0.2778, allocations: 34.86 MB / 296.3 MB, free: 0.5703 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.573e-06/1.573e-06, allocations: 0 / 378.7 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.012e-05, allocations: 10.25 kB / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002707/0.002737, allocations: 1.712 MB / 380.5 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003903, allocations: 0.635 MB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.004005, allocations: 7.938 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.133e-05/0.004046, allocations: 7.875 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.004159, allocations: 31.62 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.004678, allocations: 151.5 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.004912, allocations: 155.6 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.005037, allocations: 25.28 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.005264, allocations: 99.78 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.005367, allocations: 43.88 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.005395, allocations: 12 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.069e-05/0.005446, allocations: 23.98 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.989e-05/0.005475, allocations: 31.92 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.005523, allocations: 47.83 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.005715, allocations: 111.6 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005718, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005719, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.005724, allocations: 4 kB / 381.8 MB, free: 15.04 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.0005405/0.006264, allocations: 479.9 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.006303, allocations: 8.031 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.006473, allocations: 32.83 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.006705, allocations: 164.3 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.006729, allocations: 12.31 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.006765, allocations: 12.38 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.007097, allocations: 308.1 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.007109, allocations: 4.172 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.007127, allocations: 4.375 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.007138, allocations: 11.94 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.00722, allocations: 31.97 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008876/0.008108, allocations: 403.4 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.0083, allocations: 83 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.008352, allocations: 27.72 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.008371, allocations: 8 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.008397, allocations: 37.39 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.008399, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005916/0.00899, allocations: 289.5 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.009036, allocations: 102.8 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.009152, allocations: 204.7 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.009168, allocations: 25.7 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.009231, allocations: 154.8 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.009263, allocations: 31.7 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.009318, allocations: 39.36 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.009443, allocations: 0.4961 MB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.009503, allocations: 27.67 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.009588, allocations: 102.5 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.575e-05/0.009683, allocations: 47.89 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.009685, allocations: 0 / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001676/0.009852, allocations: 101.5 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.009868, allocations: 4 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.009873, allocations: 0 / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.009889, allocations: 7.984 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.01002, allocations: 28.02 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01003, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.0101, allocations: 19.98 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.01011, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.027e-05/0.01019, allocations: 146.8 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.841e-05/0.01026, allocations: 98.39 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.7e-05/0.01031, allocations: 39.67 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.01e-07/0.01031, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.00012/0.01043, allocations: 77.58 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.01044, allocations: 10.66 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-06/0.01045, allocations: 4.031 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/0.01045, allocations: 0 / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.01051, allocations: 19.98 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.01052, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.01057, allocations: 12 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.01057, allocations: 3.984 kB / 385.5 MB, free: 11.02 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.000124/0.0107, allocations: 280 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.01074, allocations: 15.91 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.01079, allocations: 12.78 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01079, allocations: 4 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01079, allocations: 0 / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.0108, allocations: 0 / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.01127, allocations: 405.5 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01127, allocations: 0 / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.01137, allocations: 27.97 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01138, allocations: 0 / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01139, allocations: 0 / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.01139, allocations: 4 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.0114, allocations: 7.969 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.01169, allocations: 267.4 kB / 386.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.01171, allocations: 11.95 kB / 386.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.01173, allocations: 3.938 kB / 386.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.01189, allocations: 31.97 kB / 386.5 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.01193, allocations: 19.86 kB / 386.6 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.01194, allocations: 4 kB / 386.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.505e-05/0.01202, allocations: 156.2 kB / 386.7 MB, free: 9.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01202, allocations: 0 / 386.7 MB, free: 9.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003051/0.01232, allocations: 32 kB / 386.7 MB, free: 9.684 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.0001024/0.01243, allocations: 95.23 kB / 386.8 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.01264, allocations: 91.92 kB / 386.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.01265, allocations: 0 / 386.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/0.01271, allocations: 43.67 kB / 387 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.01305, allocations: 50.61 kB / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.01372, allocations: 261.6 kB / 387.3 MB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.01377, allocations: 71.84 kB / 387.3 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.81e-05/0.01385, allocations: 12.48 kB / 387.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.01391, allocations: 20.5 kB / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01391, allocations: 0 / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of Templates: time 0.005368/0.01928, allocations: 2.608 MB / 390 MB, free: 6.414 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","",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.215165985748172]