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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007646/0.0007646, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008631/0.000863, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.7 MB / 247.5 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1901/0.1901, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09671, allocations: 63.55 MB / 483.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001826/0.09857, allocations: 1.404 MB / 485.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.09971, allocations: 0.6431 MB / 485.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.09981, allocations: 4 kB / 485.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.09984, allocations: 3.938 kB / 485.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.09995, allocations: 15.86 kB / 485.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.1004, allocations: 135.4 kB / 485.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1006, allocations: 147.6 kB / 486.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1007, allocations: 33.09 kB / 486.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1009, allocations: 55.78 kB / 486.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.101, allocations: 59.73 kB / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.101, allocations: 7.938 kB / 486.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.732e-05/0.1011, allocations: 15.94 kB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.1011, allocations: 31.83 kB / 486.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.904e-05/0.1012, allocations: 77.42 kB / 486.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1013, allocations: 96.03 kB / 486.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1013, allocations: 0 / 486.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1014, allocations: 0 / 486.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1014, allocations: 0 / 486.4 MB, free: 1.453 MB / 350.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.0006312/0.102, allocations: 447.1 kB / 486.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.102, allocations: 8.875 kB / 486.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.1022, allocations: 28.73 kB / 486.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.1025, allocations: 212 kB / 487.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1025, allocations: 12.38 kB / 487.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.1025, allocations: 12.36 kB / 487.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.103, allocations: 206.8 kB / 487.3 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.103, allocations: 3.938 kB / 487.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.103, allocations: 0 / 487.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.103, allocations: 4 kB / 487.3 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.1035, allocations: 163.9 kB / 487.5 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008355/0.1043, allocations: 476.3 kB / 488 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.105, allocations: 242.5 kB / 488.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.1053, allocations: 92.8 kB / 488.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1053, allocations: 0 / 488.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1053, allocations: 38.5 kB / 488.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1053, allocations: 0 / 488.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.00163/0.107, allocations: 0.6546 MB / 489 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.107, allocations: 114.8 kB / 489.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1072, allocations: 161.9 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1072, allocations: 25.7 kB / 489.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.1073, allocations: 104.1 kB / 489.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.1073, allocations: 31.55 kB / 489.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1074, allocations: 17.72 kB / 489.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1075, allocations: 322.8 kB / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.1078, allocations: 87.94 kB / 489.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.108, allocations: 118.5 kB / 490 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.1085, allocations: 172.8 kB / 490.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1085, allocations: 0 / 490.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005626/0.1091, allocations: 237.3 kB / 490.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.1092, allocations: 92.94 kB / 490.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1092, allocations: 80 / 490.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1092, allocations: 4 kB / 490.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.1094, allocations: 43.97 kB / 490.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1094, allocations: 7.922 kB / 490.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.1096, allocations: 43.91 kB / 490.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1096, allocations: 3.984 kB / 490.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.1096, allocations: 4 kB / 490.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002387/0.1099, allocations: 95.95 kB / 490.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-06/0.1099, allocations: 0 / 490.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-06/0.1099, allocations: 384 / 490.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.11, allocations: 27.92 kB / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-06/0.11, allocations: 0 / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.1101, allocations: 15.98 kB / 490.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1101, allocations: 7.875 kB / 490.7 MB, free: 12.88 MB / 366.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.0001449/0.1103, allocations: 201.1 kB / 490.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.1103, allocations: 7.906 kB / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.1104, allocations: 17.39 kB / 490.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1104, allocations: 0 / 490.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1104, allocations: 0 / 490.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1104, allocations: 7.938 kB / 490.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009719/0.1114, allocations: 0.5538 MB / 491.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1114, allocations: 4.031 kB / 491.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1116, allocations: 43.91 kB / 491.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1116, allocations: 3.938 kB / 491.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1116, allocations: 8 kB / 491.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1116, allocations: 0 / 491.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1116, allocations: 0 / 491.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.1125, allocations: 416.1 kB / 491.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.1125, allocations: 92.95 kB / 492 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1126, allocations: 8 kB / 492 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.1129, allocations: 51.95 kB / 492.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1129, allocations: 11.98 kB / 492.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1129, allocations: 7.984 kB / 492.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.199e-05/0.113, allocations: 121.8 kB / 492.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.113, allocations: 0 / 492.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.1134, allocations: 32 kB / 492.3 MB, free: 11.21 MB / 366.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 9.713e-05/0.1135, allocations: 95.25 kB / 492.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.1141, allocations: 239.7 kB / 492.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1141, allocations: 8.406 kB / 492.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.1144, allocations: 91.94 kB / 492.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.1148, allocations: 40.02 kB / 492.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.1155, allocations: 377.5 kB / 493.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1157, allocations: 0.7049 MB / 493.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.1158, allocations: 15.44 kB / 493.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1158, allocations: 0 / 493.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of Templates: time 0.003355/0.1192, allocations: 1.84 MB / 495.7 MB, free: 7.762 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches