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.001149/0.001149, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001692/0.001692, allocations: 161.2 kB / 25.61 MB, free: 8.891 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.9765/0.9765, allocations: 177 MB / 205.9 MB, free: 4.453 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.153/0.153, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.552e-06/1.552e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.322e-05, allocations: 2.312 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001665/0.001678, allocations: 1.696 MB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.002457, allocations: 0.6426 MB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.983e-05/0.002537, allocations: 0 / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.002571, allocations: 19.8 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.337e-05/0.002664, allocations: 23.8 kB / 382.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.002974, allocations: 155.6 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.003133, allocations: 151.6 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.003232, allocations: 25.28 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.003374, allocations: 107.7 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.003448, allocations: 43.88 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.003468, allocations: 20 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.089e-05/0.003509, allocations: 16 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.00353, allocations: 35.89 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.003559, allocations: 43.84 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.003685, allocations: 115.6 kB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003687, allocations: 0 / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003687, allocations: 0 / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003691, allocations: 0 / 383.1 MB, free: 19.65 MB / 314.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.0003662/0.004057, allocations: 468 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.004091, allocations: 15.97 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.004234, allocations: 24.89 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.004395, allocations: 176.3 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.004412, allocations: 4.375 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.004435, allocations: 12.38 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.004628, allocations: 305.7 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.00464, allocations: 4.188 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.004653, allocations: 8.375 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.004661, allocations: 7.938 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.26e-05/0.004703, allocations: 23.92 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.0051, allocations: 379.9 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.005227, allocations: 79.05 kB / 384.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.005253, allocations: 31.86 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.00527, allocations: 4 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.005287, allocations: 33.39 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.005289, allocations: 0 / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003739/0.005663, allocations: 253.6 kB / 384.9 MB, free: 17.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.005691, allocations: 106.8 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.00576, allocations: 192.5 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.005773, allocations: 29.7 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.005815, allocations: 158.7 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.005841, allocations: 43.67 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.005878, allocations: 31.36 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.005933, allocations: 0.5 MB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.005964, allocations: 23.67 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.143e-05/0.006006, allocations: 94.39 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.827e-05/0.006054, allocations: 47.66 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.006055, allocations: 0 / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.489e-05/0.006139, allocations: 81.8 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.00615, allocations: 11.94 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.006154, allocations: 0 / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.006164, allocations: 0 / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.006244, allocations: 36 kB / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.006247, allocations: 0 / 386.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.006294, allocations: 15.98 kB / 386.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.0063, allocations: 0 / 386.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.732e-05/0.006338, allocations: 142.8 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.875e-05/0.006366, allocations: 94.45 kB / 386.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.534e-05/0.006392, allocations: 35.61 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.21e-07/0.006392, allocations: 0 / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 5.53e-05/0.006447, allocations: 81.53 kB / 386.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.077e-06/0.006452, allocations: 10.53 kB / 386.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-07/0.006452, allocations: 0 / 386.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-06/0.006454, allocations: 3.984 kB / 386.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.44e-05/0.006488, allocations: 19.94 kB / 386.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.72e-07/0.006489, allocations: 0 / 386.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.006521, allocations: 11.98 kB / 386.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-06/0.006523, allocations: 0 / 386.6 MB, free: 15.76 MB / 314.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 4.93e-05/0.006573, allocations: 276 kB / 386.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.006596, allocations: 11.95 kB / 386.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.006625, allocations: 24.77 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.006626, allocations: 0 / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.006628, allocations: 0 / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.006631, allocations: 7.984 kB / 386.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.006883, allocations: 369.6 kB / 387.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006884, allocations: 0 / 387.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.88e-05/0.006953, allocations: 31.97 kB / 387.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006954, allocations: 4 kB / 387.3 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.006961, allocations: 0 / 387.3 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006962, allocations: 7.969 kB / 387.3 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006963, allocations: 4 kB / 387.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.007096, allocations: 255.4 kB / 387.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-06/0.007105, allocations: 7.953 kB / 387.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.007119, allocations: 7.984 kB / 387.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.00722, allocations: 35.91 kB / 387.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.007244, allocations: 3.984 kB / 387.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.007251, allocations: 12.03 kB / 387.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.796e-05/0.007279, allocations: 153.5 kB / 387.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007279, allocations: 0 / 387.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000177/0.007456, allocations: 32 kB / 387.8 MB, free: 14.47 MB / 314.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 5.672e-05/0.007512, allocations: 95.25 kB / 387.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.007626, allocations: 87.84 kB / 388 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.007628, allocations: 0 / 388 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.007657, allocations: 27.67 kB / 388 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.007873, allocations: 48.09 kB / 388.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.008221, allocations: 263.5 kB / 388.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.308e-05/0.008245, allocations: 67.7 kB / 388.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.008294, allocations: 16.48 kB / 388.4 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.008414, allocations: 126.1 kB / 388.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.008415, allocations: 4 kB / 388.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003379/0.01179, allocations: 2.698 MB / 391.2 MB, free: 11.04 MB / 314.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.334048034157604]