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.001233/0.001233, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1893/0.1894, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 71.89 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.09395, allocations: 62.45 MB / 481.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002623/0.0966, allocations: 1.688 MB / 483.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.09759, allocations: 0.6507 MB / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.09766, allocations: 0 / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.09771, allocations: 15.8 kB / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.889e-05/0.09782, allocations: 23.8 kB / 483.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.09822, allocations: 147.2 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.09841, allocations: 163.6 kB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.09852, allocations: 33.03 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.09867, allocations: 75.75 kB / 484.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.09877, allocations: 59.75 kB / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.09881, allocations: 12 kB / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.777e-05/0.09886, allocations: 20 kB / 484.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.0989, allocations: 35.83 kB / 484.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.09896, allocations: 59.72 kB / 484.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.09913, allocations: 147.4 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.09914, allocations: 0 / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09915, allocations: 0 / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.09915, allocations: 0 / 484.6 MB, free: 1.395 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.0005697/0.09973, allocations: 447 kB / 485 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.09976, allocations: 8.031 kB / 485 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.09992, allocations: 32.73 kB / 485 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1002, allocations: 228 kB / 485.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1002, allocations: 4.375 kB / 485.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.1002, allocations: 8.375 kB / 485.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.1006, allocations: 176.4 kB / 485.4 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1006, allocations: 3.984 kB / 485.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1006, allocations: 8 kB / 485.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1007, allocations: 0 / 485.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.101, allocations: 127.8 kB / 485.6 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007484/0.1018, allocations: 452.5 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.1023, allocations: 198.4 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.1025, allocations: 68.8 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1025, allocations: 7.984 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1025, allocations: 34.56 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.1026, allocations: 3.938 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001252/0.1038, allocations: 0.5719 MB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.1039, allocations: 106.8 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.104, allocations: 159.3 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.104, allocations: 29.7 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.1041, allocations: 104.1 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1041, allocations: 39.55 kB / 487.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.1042, allocations: 25.7 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.1043, allocations: 322.8 kB / 487.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.1045, allocations: 72.8 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.1047, allocations: 98.45 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.1051, allocations: 140.8 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1051, allocations: 0 / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004354/0.1055, allocations: 189.6 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1056, allocations: 6.188 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1056, allocations: 8.094 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1056, allocations: 3.938 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.1058, allocations: 43.89 kB / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1058, allocations: 0.5469 kB / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.1059, allocations: 23.97 kB / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.1059, allocations: 0 / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000139/0.1061, allocations: 128.1 kB / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001/0.1062, allocations: 58.48 kB / 488.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001633/0.1063, allocations: 68.83 kB / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.955e-06/0.1064, allocations: 11.92 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002178/0.1066, allocations: 121.5 kB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.1066, allocations: 4 kB / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-06/0.1066, allocations: 0 / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-06/0.1066, allocations: 0 / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.1067, allocations: 23.98 kB / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.1067, allocations: 3.938 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.1068, allocations: 15.98 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1068, allocations: 0 / 488.7 MB, free: 12.95 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 9.176e-05/0.1069, allocations: 192.2 kB / 488.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.107, allocations: 15.81 kB / 488.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.107, allocations: 17.39 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.107, allocations: 4.219 kB / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.107, allocations: 0 / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.107, allocations: 0 / 488.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007806/0.1078, allocations: 0.5108 MB / 489.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1078, allocations: 3.938 kB / 489.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.108, allocations: 35.97 kB / 489.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.108, allocations: 4 kB / 489.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.108, allocations: 4.031 kB / 489.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.108, allocations: 0 / 489.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.108, allocations: 3.984 kB / 489.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.1087, allocations: 356 kB / 489.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.1087, allocations: 92.92 kB / 489.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1088, allocations: 11.98 kB / 489.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.109, allocations: 40.02 kB / 489.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.1091, allocations: 8 kB / 490 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1091, allocations: 7.984 kB / 490 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.011e-05/0.1092, allocations: 120 kB / 490.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1092, allocations: 0 / 490.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1095, allocations: 32 kB / 490.1 MB, free: 11.41 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 8.733e-05/0.1096, allocations: 95.25 kB / 490.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005307/0.1101, allocations: 191.8 kB / 490.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1101, allocations: 3.938 kB / 490.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.1103, allocations: 83.94 kB / 490.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1107, allocations: 38.44 kB / 490.5 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.1112, allocations: 288.8 kB / 490.8 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1115, allocations: 0.7046 MB / 491.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.649e-05/0.1116, allocations: 20.86 kB / 491.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.1116, allocations: 19.42 kB / 491.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1116, allocations: 3.938 kB / 491.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of Templates: time 0.00446/0.1161, allocations: 2.262 MB / 493.8 MB, free: 7.66 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 -s gbode -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