Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.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.001798/0.001798, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00214/0.00214, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.225/0.225, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2961, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002577/0.2987, allocations: 1.457 MB / 0.5632 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008215/0.2995, allocations: 451 kB / 0.5637 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.2995, allocations: 0 / 0.5637 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.2996, allocations: 0 / 0.5637 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.2996, allocations: 7.875 kB / 0.5637 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.2998, allocations: 31.97 kB / 0.5637 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.2999, allocations: 43.78 kB / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.808e-05/0.3, allocations: 7.984 kB / 0.5637 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3001, allocations: 16 kB / 0.5638 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.3002, allocations: 15.92 kB / 0.5638 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.3002, allocations: 4 kB / 0.5638 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.144e-05/0.3002, allocations: 11.98 kB / 0.5638 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.3002, allocations: 15.86 kB / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.3003, allocations: 7.938 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.3004, allocations: 42.55 kB / 0.5639 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3004, allocations: 0 / 0.5639 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3004, allocations: 4 kB / 0.5639 GB, free: 2.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3004, allocations: 0 / 0.5639 GB, free: 2.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004438/0.3008, allocations: 281.9 kB / 0.5641 GB, free: 1.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.3009, allocations: 8.031 kB / 0.5641 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.301, allocations: 12.92 kB / 0.5641 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3012, allocations: 114.5 kB / 0.5643 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3012, allocations: 8.359 kB / 0.5643 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3012, allocations: 8.312 kB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3014, allocations: 93.42 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.3014, allocations: 3.938 kB / 0.5644 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3014, allocations: 3.984 kB / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3014, allocations: 0 / 0.5644 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-05/0.3015, allocations: 19.98 kB / 0.5644 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.3019, allocations: 200.6 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.359e-05/0.3019, allocations: 38.5 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.302, allocations: 12.92 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.302, allocations: 4 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.302, allocations: 38.5 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.302, allocations: 0 / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002441/0.3023, allocations: 61.67 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3023, allocations: 81.05 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.3024, allocations: 109.8 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3024, allocations: 29.69 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.3025, allocations: 88.14 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.3025, allocations: 7.891 kB / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.3026, allocations: 21.84 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3027, allocations: 322.8 kB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.3027, allocations: 7.938 kB / 0.5654 GB, free: 356 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.3028, allocations: 55.41 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.016e-05/0.3029, allocations: 24.84 kB / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3029, allocations: 0 / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001329/0.303, allocations: 61.61 kB / 0.5655 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.303, allocations: 8 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.303, allocations: 0 / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3031, allocations: 4.031 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.3031, allocations: 4 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3031, allocations: 3.938 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.3032, allocations: 11.94 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.3032, allocations: 3.984 kB / 0.5655 GB, free: 156 kB / 398.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: 2 (hysteresis.y,$PRE.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.958e-05/0.3033, allocations: 118.2 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3033, allocations: 4 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.3033, allocations: 7.609 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3033, allocations: 0 / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3033, allocations: 7.938 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3033, allocations: 144 / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.3035, allocations: 109.3 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3035, allocations: 3.938 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.3035, allocations: 7.984 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3035, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3035, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3036, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3036, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.3037, allocations: 159.4 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.3037, allocations: 11.97 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3038, allocations: 4 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.3039, allocations: 11.92 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.3039, allocations: 11.98 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.3039, allocations: 0 / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.581e-05/0.304, allocations: 91.27 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 0 / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.3042, allocations: 4 kB / 0.5661 GB, free: 15.55 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: 1 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.002e-05/0.3043, allocations: 91.25 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.3044, allocations: 27.98 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3044, allocations: 0 / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.3045, allocations: 19.92 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3047, allocations: 7.938 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.305, allocations: 123 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.989e-05/0.3051, allocations: 63.34 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.134e-05/0.3051, allocations: 8.062 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.3051, allocations: 11.42 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3051, allocations: 0 / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Templates: time 0.003065/0.3082, allocations: 0.6586 MB / 0.567 GB, free: 14.51 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Hysteresis.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: 4.774126515010721]