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.0009382/0.0009382, allocations: 75.7 kB / 21.69 MB, free: 2.844 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.001108/0.001108, allocations: 166.6 kB / 24.99 MB, free: 9.328 MB / 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.9688/0.9688, allocations: 177 MB / 205.2 MB, free: 5.137 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.2512/0.2512, allocations: 34.87 MB / 296.6 MB, free: 0.5234 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.353e-06/1.353e-06, allocations: 0 / 378.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.57e-05, allocations: 5.125 kB / 378.7 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001807/0.001823, allocations: 1.696 MB / 380.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.002656, allocations: 0.6388 MB / 381.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.002732, allocations: 7.938 kB / 381.1 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.002764, allocations: 15.8 kB / 381.1 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.919e-05/0.002853, allocations: 15.81 kB / 381.1 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.003225, allocations: 159.5 kB / 381.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.003393, allocations: 155.6 kB / 381.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.003498, allocations: 29.28 kB / 381.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.003654, allocations: 91.8 kB / 381.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.003736, allocations: 55.8 kB / 381.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.00376, allocations: 12 kB / 381.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.877e-05/0.003809, allocations: 16 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.003841, allocations: 39.83 kB / 381.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.003881, allocations: 43.89 kB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.004042, allocations: 115.6 kB / 381.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004045, allocations: 0 / 381.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004045, allocations: 0 / 381.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004049, allocations: 0 / 381.8 MB, free: 15.37 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.0004449/0.004494, allocations: 476 kB / 382.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.004524, allocations: 8.031 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.004642, allocations: 28.84 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.004829, allocations: 181.6 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.004847, allocations: 4.375 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.004872, allocations: 12.38 kB / 382.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.005129, allocations: 312.1 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.005139, allocations: 192 / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.005155, allocations: 8.375 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.005164, allocations: 3.938 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/0.005234, allocations: 31.98 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.0057, allocations: 399.4 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.005855, allocations: 94.98 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.005895, allocations: 27.72 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.005912, allocations: 0 / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.005935, allocations: 41.39 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.005936, allocations: 0 / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004773/0.006414, allocations: 277.4 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.006454, allocations: 106.8 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.006553, allocations: 203.3 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.006566, allocations: 29.7 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.006614, allocations: 150.8 kB / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.00664, allocations: 39.83 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.006676, allocations: 39.36 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.006771, allocations: 0.4922 MB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.006812, allocations: 27.69 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.006875, allocations: 106.4 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.688e-05/0.006942, allocations: 43.91 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006943, allocations: 7.938 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001126/0.007056, allocations: 97.56 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.007067, allocations: 10.84 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.00707, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.00708, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.007178, allocations: 31.97 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007182, allocations: 0 / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.007234, allocations: 15.98 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.007241, allocations: 4 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.609e-05/0.007298, allocations: 146.8 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.587e-05/0.007343, allocations: 94.39 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.015e-05/0.007384, allocations: 43.72 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.007384, allocations: 0 / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 7.686e-05/0.007461, allocations: 77.58 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.007466, allocations: 4 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.007468, allocations: 4 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-06/0.007469, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/0.007509, allocations: 19.98 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-06/0.00751, allocations: 0 / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.007547, allocations: 11.98 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.00755, allocations: 4 kB / 385.5 MB, free: 11.36 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 7.546e-05/0.007626, allocations: 280 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.007657, allocations: 19.91 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.007693, allocations: 16.77 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007694, allocations: 0 / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.007698, allocations: 0 / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007701, allocations: 0 / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.008052, allocations: 401 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008052, allocations: 0 / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.008129, allocations: 28.02 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.008131, allocations: 4 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.008142, allocations: 3.984 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008143, allocations: 0 / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.008146, allocations: 7.938 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.008362, allocations: 267.4 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.008374, allocations: 11.89 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.008395, allocations: 8 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.008513, allocations: 35.98 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.008555, allocations: 15.92 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.008563, allocations: 4 kB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.044e-05/0.008624, allocations: 159.6 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008624, allocations: 0 / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.008828, allocations: 32 kB / 386.7 MB, free: 10.01 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 6.72e-05/0.008895, allocations: 91.72 kB / 386.8 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.009052, allocations: 95.2 kB / 386.9 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009053, allocations: 0 / 386.9 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.009098, allocations: 43.61 kB / 387 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.009333, allocations: 36.75 kB / 387 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.009818, allocations: 265.5 kB / 387.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.00986, allocations: 67.84 kB / 387.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.009915, allocations: 20.55 kB / 387.3 MB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.009956, allocations: 16.5 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009956, allocations: 0 / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of Templates: time 0.00341/0.01337, allocations: 2.444 MB / 389.8 MB, free: 6.918 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: 2.973829929018393]