Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 206.8 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 46.97 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2874, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002937/0.2903, allocations: 1.648 MB / 0.5634 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2915, allocations: 0.6284 MB / 0.564 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-05/0.2916, allocations: 3.938 kB / 0.564 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.2916, allocations: 11.86 kB / 0.5641 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.2917, allocations: 19.8 kB / 0.5641 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.2922, allocations: 159 kB / 0.5642 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.2924, allocations: 155.7 kB / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2925, allocations: 36.67 kB / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.2927, allocations: 83.75 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.2928, allocations: 55.77 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.2929, allocations: 16 kB / 0.5646 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.2929, allocations: 19.97 kB / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.293, allocations: 39.8 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.293, allocations: 47.78 kB / 0.5647 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.2932, allocations: 138.2 kB / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2932, allocations: 0 / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2932, allocations: 0 / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2932, allocations: 4 kB / 0.5648 GB, free: 1.109 MB / 398.1 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.0007058/0.2939, allocations: 389.6 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.294, allocations: 8.031 kB / 0.5652 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.2942, allocations: 32.83 kB / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.2945, allocations: 160 kB / 0.5654 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2945, allocations: 4.375 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2945, allocations: 8.375 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.295, allocations: 334.6 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.295, allocations: 0 / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.295, allocations: 4 kB / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.295, allocations: 0 / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.2954, allocations: 123.9 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.2963, allocations: 376 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/0.2968, allocations: 186.4 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.297, allocations: 76.83 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.2971, allocations: 4 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.2971, allocations: 34.56 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.2971, allocations: 0 / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001429/0.2985, allocations: 0.493 MB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.2986, allocations: 106.8 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2988, allocations: 154.1 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.2988, allocations: 29.7 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.2989, allocations: 112 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.2989, allocations: 35.69 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.299, allocations: 25.72 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2991, allocations: 322.8 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2993, allocations: 76.8 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.2996, allocations: 141.9 kB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.3, allocations: 140.7 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3, allocations: 0 / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004753/0.3004, allocations: 185.5 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3005, allocations: 13.72 kB / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3005, allocations: 0 / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3005, allocations: 0 / 0.5682 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.3007, allocations: 35.91 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3007, allocations: 3.938 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3008, allocations: 23.97 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.3008, allocations: 4.359 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001498/0.301, allocations: 124.1 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001489/0.3011, allocations: 117.9 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001772/0.3013, allocations: 72.77 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.71e-07/0.3013, allocations: 0 / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002617/0.3016, allocations: 121.5 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.3016, allocations: 11.97 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-06/0.3016, allocations: 0 / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-06/0.3016, allocations: 7.938 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.3017, allocations: 19.98 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-06/0.3017, allocations: 0 / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.3018, allocations: 15.92 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3018, allocations: 4 kB / 0.5688 GB, free: 12.73 MB / 414.1 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.0001195/0.3019, allocations: 180.3 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.3019, allocations: 15.95 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.302, allocations: 24.7 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.302, allocations: 0 / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.302, allocations: 3.938 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.302, allocations: 0 / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008542/0.3029, allocations: 438.9 kB / 0.5694 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3029, allocations: 0 / 0.5694 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.303, allocations: 39.91 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.303, allocations: 0 / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3031, allocations: 3.938 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3031, allocations: 4.281 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3031, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.3038, allocations: 368 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.3038, allocations: 7.984 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.3039, allocations: 3.938 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.3042, allocations: 44.02 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3042, allocations: 7.984 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.3042, allocations: 7.984 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.056e-05/0.3043, allocations: 107.3 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3043, allocations: 0 / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.3046, allocations: 36 kB / 0.57 GB, free: 11.39 MB / 414.1 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.0001068/0.3047, allocations: 103.2 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006054/0.3053, allocations: 187.8 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3053, allocations: 0 / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.3056, allocations: 76.5 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3059, allocations: 42.64 kB / 0.5704 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006547/0.3066, allocations: 310.4 kB / 0.5707 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.728e-05/0.3067, allocations: 105.6 kB / 0.5708 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.3068, allocations: 19.42 kB / 0.5708 GB, free: 10.51 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3068, allocations: 4 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of Templates: time 0.003803/0.3106, allocations: 1.846 MB / 0.5726 GB, free: 8.672 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.481416448979871]