Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.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.001542/0.001542, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001692/0.001692, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.2351/0.2351, allocations: 46.97 MB / 361.6 MB, free: 4.004 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.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds") translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3028, allocations: 66.03 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003088/0.3059, allocations: 1.711 MB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000429/0.3063, allocations: 151.6 kB / 0.5636 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.3064, allocations: 3.938 kB / 0.5636 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.3064, allocations: 7.875 kB / 0.5636 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.3065, allocations: 15.86 kB / 0.5636 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.3068, allocations: 103.3 kB / 0.5637 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.307, allocations: 111.8 kB / 0.5639 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3071, allocations: 21.59 kB / 0.5639 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.87e-05/0.3072, allocations: 47.83 kB / 0.5639 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.3073, allocations: 43.78 kB / 0.564 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3073, allocations: 8 kB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.3073, allocations: 8 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.208e-05/0.3073, allocations: 19.92 kB / 0.564 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.3074, allocations: 31.86 kB / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.3075, allocations: 101.9 kB / 0.5641 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3075, allocations: 4 kB / 0.5641 GB, free: 1.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3075, allocations: 4 kB / 0.5641 GB, free: 1.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3076, allocations: 0 / 0.5641 GB, free: 1.75 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006871/0.3082, allocations: 365.8 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3083, allocations: 12.03 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.3083, allocations: 16.83 kB / 0.5645 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.3086, allocations: 142.4 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3086, allocations: 4.375 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3086, allocations: 8.375 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.309, allocations: 208.6 kB / 0.5649 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.309, allocations: 192 / 0.5649 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.309, allocations: 7.938 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.309, allocations: 4 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.3094, allocations: 111.8 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/0.3101, allocations: 476.5 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.3105, allocations: 138.5 kB / 0.5656 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.3107, allocations: 52.84 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3107, allocations: 7.984 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3107, allocations: 34.56 kB / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.3107, allocations: 0 / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006532/0.3114, allocations: 185.5 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.3115, allocations: 106.8 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3116, allocations: 140.5 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3116, allocations: 33.7 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.3117, allocations: 108.1 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.3117, allocations: 23.84 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.3118, allocations: 37.64 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3119, allocations: 326.8 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.3121, allocations: 43.95 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.3123, allocations: 135.6 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.3127, allocations: 114.5 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3127, allocations: 0 / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004149/0.3131, allocations: 153.5 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3131, allocations: 4 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3131, allocations: 0 / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3131, allocations: 4 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3133, allocations: 27.91 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3133, allocations: 0 / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.3135, allocations: 39.86 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3135, allocations: 8.062 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (lessEqualThreshold.y,lessThreshold.y,greaterEqualThreshold.y,greaterThreshold.y) * 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.0001155/0.3136, allocations: 125.8 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.3136, allocations: 7.953 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.3137, allocations: 16.72 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3137, allocations: 0 / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3137, allocations: 0 / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3137, allocations: 0 / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.3139, allocations: 141.2 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3139, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.314, allocations: 23.97 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.314, allocations: 7.984 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.314, allocations: 3.938 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.314, allocations: 0 / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.314, allocations: 3.984 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.3144, allocations: 239.3 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.3144, allocations: 7.953 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3145, allocations: 7.984 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.3146, allocations: 28.16 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.3147, allocations: 7.984 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3147, allocations: 3.938 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.266e-05/0.3148, allocations: 103.3 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3148, allocations: 0 / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000242/0.315, allocations: 19.94 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001047/0.3151, allocations: 99.12 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.3155, allocations: 124.3 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3155, allocations: 0 / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.3157, allocations: 59.89 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.316, allocations: 24.42 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.3166, allocations: 251.6 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.936e-05/0.3167, allocations: 77.33 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.3167, allocations: 19.42 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3167, allocations: 0 / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Templates: time 0.003157/0.3199, allocations: 1.442 MB / 0.5698 GB, free: 11.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ZeroThresholds/ZeroThresholds.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.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.416950412996812]