Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 110.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 183.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 222.9 MB / 243.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1829/0.1829, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 64.12 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2774, allocations: 60.83 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002344/0.2798, allocations: 1.669 MB / 0.5212 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008147/0.2806, allocations: 0.5973 MB / 0.5218 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.696e-05/0.2807, allocations: 5.25 kB / 0.5218 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.2807, allocations: 13.7 kB / 0.5218 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.081e-05/0.2808, allocations: 24.69 kB / 0.5218 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.2812, allocations: 135.4 kB / 0.5219 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.2814, allocations: 157.7 kB / 0.5221 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2815, allocations: 34.62 kB / 0.5221 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.2816, allocations: 72.19 kB / 0.5222 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2817, allocations: 62.55 kB / 0.5222 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.2818, allocations: 12.66 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.697e-05/0.2818, allocations: 13.09 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.2818, allocations: 35.83 kB / 0.5223 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.2819, allocations: 59.61 kB / 0.5224 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.282, allocations: 130.8 kB / 0.5225 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2821, allocations: 5.188 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2821, allocations: 0 / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2821, allocations: 0 / 0.5225 GB, free: 1.652 MB / 382.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.0005522/0.2826, allocations: 453.3 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.2827, allocations: 9.375 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.2827, allocations: 20.62 kB / 0.523 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.2829, allocations: 220.4 kB / 0.5232 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2829, allocations: 8 kB / 0.5232 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.283, allocations: 14.06 kB / 0.5232 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.2834, allocations: 169 kB / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2834, allocations: 0.9375 kB / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.2834, allocations: 9.219 kB / 0.5234 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2834, allocations: 6.125 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.2838, allocations: 121.9 kB / 0.5235 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.2845, allocations: 453.5 kB / 0.5239 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.2851, allocations: 192.6 kB / 0.5241 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.2853, allocations: 68.34 kB / 0.5242 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.2854, allocations: 13.81 kB / 0.5242 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.2854, allocations: 37.22 kB / 0.5242 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.2854, allocations: 0 / 0.5242 GB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001334/0.2867, allocations: 0.5704 MB / 0.5248 GB, free: 88 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.2868, allocations: 108.5 kB / 0.5249 GB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.287, allocations: 157.2 kB / 0.525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.287, allocations: 31.27 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.2871, allocations: 108.5 kB / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.2871, allocations: 29.84 kB / 0.5252 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.2872, allocations: 30.23 kB / 0.5252 GB, free: 15.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2873, allocations: 322.4 kB / 0.5255 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.2875, allocations: 75.09 kB / 0.5256 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.2878, allocations: 96.97 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.2882, allocations: 142.1 kB / 0.5258 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2882, allocations: 0 / 0.5258 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004791/0.2887, allocations: 190.2 kB / 0.526 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2887, allocations: 6 kB / 0.526 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2887, allocations: 4.969 kB / 0.526 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2887, allocations: 0 / 0.526 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.2889, allocations: 39.8 kB / 0.526 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2889, allocations: 1.438 kB / 0.526 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.2891, allocations: 29.62 kB / 0.5261 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.2891, allocations: 2.547 kB / 0.5261 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001451/0.2892, allocations: 119.8 kB / 0.5262 GB, free: 15.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001193/0.2894, allocations: 55.16 kB / 0.5262 GB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001862/0.2896, allocations: 78.88 kB / 0.5263 GB, free: 14.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.11e-07/0.2896, allocations: 0 / 0.5263 GB, free: 14.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002478/0.2898, allocations: 124.2 kB / 0.5264 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/0.2898, allocations: 6.297 kB / 0.5264 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.2898, allocations: 0 / 0.5264 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.2898, allocations: 5.312 kB / 0.5264 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.2899, allocations: 21.14 kB / 0.5265 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/0.29, allocations: 4 kB / 0.5265 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.2901, allocations: 16.75 kB / 0.5265 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.2901, allocations: 2.75 kB / 0.5265 GB, free: 14.91 MB / 398.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.0001056/0.2902, allocations: 180.1 kB / 0.5267 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.2902, allocations: 14.78 kB / 0.5267 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.2903, allocations: 17.7 kB / 0.5267 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2903, allocations: 5.312 kB / 0.5267 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2903, allocations: 3.938 kB / 0.5267 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.2903, allocations: 6.172 kB / 0.5267 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008692/0.2912, allocations: 0.5076 MB / 0.5272 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2912, allocations: 3.984 kB / 0.5272 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.2914, allocations: 36.72 kB / 0.5272 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2914, allocations: 1.375 kB / 0.5272 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2914, allocations: 1.375 kB / 0.5272 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2914, allocations: 1.375 kB / 0.5272 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2914, allocations: 3.938 kB / 0.5273 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.2921, allocations: 371.9 kB / 0.5276 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.2922, allocations: 83.77 kB / 0.5277 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.2922, allocations: 1.375 kB / 0.5277 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.2925, allocations: 39.33 kB / 0.5277 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.2925, allocations: 8.109 kB / 0.5277 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.2926, allocations: 2.75 kB / 0.5277 GB, free: 13.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.421e-05/0.2926, allocations: 122.5 kB / 0.5279 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.316e-06/0.2927, allocations: 0 / 0.5279 GB, free: 13.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.293, allocations: 36.16 kB / 0.5279 GB, free: 13.82 MB / 398.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 8.768e-05/0.2931, allocations: 97.62 kB / 0.528 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005853/0.2936, allocations: 199.4 kB / 0.5282 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2937, allocations: 0 / 0.5282 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.2939, allocations: 78.7 kB / 0.5282 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.2942, allocations: 38.73 kB / 0.5283 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.2949, allocations: 318.8 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2951, allocations: 0.7115 MB / 0.5293 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.2952, allocations: 14.81 kB / 0.5293 GB, free: 12.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2952, allocations: 0 / 0.5293 GB, free: 12.62 MB / 398.1 MB Notification: Performance of Templates: time 0.00316/0.2983, allocations: 1.851 MB / 0.5311 GB, free: 11.67 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches