Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.95 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] 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.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.ZeroThresholds") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 79.88 kB / 0.4974 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3957, allocations: 66.08 MB / 0.5619 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003409/0.3991, allocations: 1.704 MB / 0.5636 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004971/0.3996, allocations: 151.6 kB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3997, allocations: 7.875 kB / 0.5637 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.352e-05/0.3998, allocations: 11.86 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.378e-05/0.3998, allocations: 11.88 kB / 0.5637 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.4003, allocations: 107 kB / 0.5638 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.4005, allocations: 103.8 kB / 0.5639 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.4006, allocations: 25.58 kB / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.4007, allocations: 47.84 kB / 0.564 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.4008, allocations: 35.84 kB / 0.564 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.4008, allocations: 8 kB / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.113e-05/0.4008, allocations: 8 kB / 0.5641 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.4008, allocations: 19.92 kB / 0.5641 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.4009, allocations: 35.8 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.4011, allocations: 94.09 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4011, allocations: 0 / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4011, allocations: 4 kB / 0.5642 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4011, allocations: 0 / 0.5642 GB, free: 1.594 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.000757/0.4018, allocations: 381.7 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4019, allocations: 8.031 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.4019, allocations: 16.84 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.4022, allocations: 138.4 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4022, allocations: 8.375 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.4023, allocations: 4.375 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.4027, allocations: 207.7 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4027, allocations: 192 / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4027, allocations: 3.938 kB / 0.5649 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4027, allocations: 4 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.4031, allocations: 118.2 kB / 0.565 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.4038, allocations: 480.5 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004492/0.4043, allocations: 130.5 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.4045, allocations: 56.8 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.4045, allocations: 4 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.4045, allocations: 34.56 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.4045, allocations: 0 / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006601/0.4052, allocations: 189.4 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.4052, allocations: 106.8 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.4054, allocations: 140.9 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.4054, allocations: 29.7 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.4055, allocations: 112.2 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.4055, allocations: 23.86 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.4056, allocations: 25.7 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4057, allocations: 326.8 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.4059, allocations: 47.95 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.4062, allocations: 139.6 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.4065, allocations: 110.5 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4065, allocations: 0 / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005525/0.4071, allocations: 153.8 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4071, allocations: 11.94 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4071, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.4071, allocations: 3.984 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.4073, allocations: 27.91 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.4073, allocations: 4.078 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.4075, allocations: 35.86 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.4075, allocations: 16.03 kB / 0.5672 GB, free: 14.3 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.0001261/0.4077, allocations: 117.8 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.4077, allocations: 7.953 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.4077, allocations: 12.72 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4078, allocations: 0 / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4078, allocations: 4 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4078, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.408, allocations: 149.2 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.408, allocations: 0 / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.4081, allocations: 23.98 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4081, allocations: 0 / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4081, allocations: 3.984 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4081, allocations: 7.938 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4081, allocations: 0 / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.4086, allocations: 235.3 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.4086, allocations: 15.94 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.4086, allocations: 192 / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.4088, allocations: 23.97 kB / 0.5677 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.4088, allocations: 15.92 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.4088, allocations: 0 / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.088e-05/0.4089, allocations: 103.3 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4089, allocations: 0 / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.4092, allocations: 23.94 kB / 0.5679 GB, free: 13.52 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.0001322/0.4093, allocations: 103.2 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.4097, allocations: 111.8 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4097, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.4099, allocations: 63.88 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.4103, allocations: 19.5 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.4109, allocations: 247.7 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.833e-05/0.411, allocations: 85.27 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.4111, allocations: 19.42 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4111, allocations: 0 / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of Templates: time 0.003683/0.4147, allocations: 1.455 MB / 0.5699 GB, free: 11.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.721857682801783]