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.0014/0.0014, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001586/0.001586, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.49/1.49, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2331/0.2331, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.002298/0.002298, allocations: 63.89 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3274, allocations: 66.04 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003201/0.3306, allocations: 1.692 MB / 0.5635 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004532/0.3311, allocations: 155.5 kB / 0.5636 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.3312, allocations: 7.938 kB / 0.5636 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.284e-05/0.3312, allocations: 11.86 kB / 0.5636 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.3313, allocations: 7.875 kB / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.3316, allocations: 103.8 kB / 0.5637 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3318, allocations: 107.7 kB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3319, allocations: 25.58 kB / 0.5639 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.332, allocations: 47.86 kB / 0.5639 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.3321, allocations: 35.83 kB / 0.5639 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.3321, allocations: 8 kB / 0.5639 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.157e-05/0.3321, allocations: 11.94 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.3321, allocations: 19.98 kB / 0.564 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.3322, allocations: 35.8 kB / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.3323, allocations: 93.95 kB / 0.5641 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3323, allocations: 0 / 0.5641 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3323, allocations: 4 kB / 0.5641 GB, free: 1.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3324, allocations: 0 / 0.5641 GB, free: 1.77 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.0007831/0.3331, allocations: 377.7 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3332, allocations: 8.031 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.3332, allocations: 16.84 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3335, allocations: 138.4 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3335, allocations: 8.375 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.3335, allocations: 4.375 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.334, allocations: 212.5 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.334, allocations: 192 / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.334, allocations: 7.938 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.334, allocations: 0 / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.3344, allocations: 111.8 kB / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.3351, allocations: 484.5 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.3355, allocations: 134.5 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.3357, allocations: 56.84 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3358, allocations: 3.938 kB / 0.5656 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.3358, allocations: 34.56 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.3358, allocations: 0 / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007161/0.3365, allocations: 193.4 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.3366, allocations: 102.8 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3367, allocations: 136.6 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3368, allocations: 25.7 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.3368, allocations: 112.1 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.3369, allocations: 15.86 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.3369, allocations: 33.7 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3371, allocations: 322.8 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.3373, allocations: 51.95 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.3375, allocations: 139.6 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.3379, allocations: 118.5 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3379, allocations: 3.938 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004287/0.3383, allocations: 145.5 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3383, allocations: 8 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3383, allocations: 4.062 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3383, allocations: 3.984 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.3385, allocations: 27.92 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3385, allocations: 3.984 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.3387, allocations: 35.86 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3387, allocations: 4.391 kB / 0.5671 GB, free: 14.49 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.0001213/0.3388, allocations: 125.7 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.3388, allocations: 11.95 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.3389, allocations: 12.72 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3389, allocations: 0 / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3389, allocations: 4 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3389, allocations: 3.984 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.3391, allocations: 145.2 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3391, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.3392, allocations: 19.97 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3392, allocations: 0 / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3392, allocations: 4 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3392, allocations: 7.938 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3392, allocations: 192 / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.3397, allocations: 243.3 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.3397, allocations: 11.89 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3397, allocations: 4 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3399, allocations: 27.95 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3399, allocations: 11.98 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.34, allocations: 4 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.985e-05/0.3401, allocations: 103.2 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3401, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.3403, allocations: 19.94 kB / 0.5678 GB, free: 13.69 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.0001089/0.3404, allocations: 99.19 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.3409, allocations: 119.8 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3409, allocations: 0 / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.341, allocations: 59.89 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3414, allocations: 23.23 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.342, allocations: 243.8 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.866e-05/0.342, allocations: 85.31 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.3421, allocations: 15.44 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3421, allocations: 0 / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of Templates: time 0.003394/0.3455, allocations: 1.443 MB / 0.5698 GB, free: 11.56 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.523836757056415]