Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001404/0.001404, allocations: 71.75 kB / 19.93 MB, free: 1.777 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.001568/0.001568, allocations: 168.4 kB / 23.21 MB, free: 4.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 158.6 MB / 185 MB, free: 6.434 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2034/0.2034, allocations: 32.37 MB / 269.6 MB, free: 4.707 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 407.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.06e-05, allocations: 2.281 kB / 407.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002825/0.002855, allocations: 1.441 MB / 408.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008683/0.003724, allocations: 431.7 kB / 409.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.003762, allocations: 4 kB / 409.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.003793, allocations: 3.938 kB / 409.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.533e-05/0.003839, allocations: 3.938 kB / 409.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.004024, allocations: 19.91 kB / 409.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.612e-05/0.00411, allocations: 35.91 kB / 409.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.004202, allocations: 7.984 kB / 409.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.004309, allocations: 31.84 kB / 409.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.004367, allocations: 11.98 kB / 409.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.004394, allocations: 4 kB / 409.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.004404, allocations: 4 kB / 409.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.004428, allocations: 11.94 kB / 409.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.004454, allocations: 7.984 kB / 409.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.555e-05/0.004549, allocations: 31.95 kB / 409.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.004552, allocations: 0 / 409.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.004553, allocations: 0 / 409.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004558, allocations: 3.938 kB / 409.4 MB, free: 1 MB / 334.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.0004802/0.005038, allocations: 278.2 kB / 409.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.005077, allocations: 12.03 kB / 409.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.005119, allocations: 0.9375 kB / 409.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.005243, allocations: 117.7 kB / 409.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.005254, allocations: 4.375 kB / 409.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.00527, allocations: 4.375 kB / 409.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.00546, allocations: 81.66 kB / 409.9 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005468, allocations: 192 / 409.9 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.00548, allocations: 8.312 kB / 409.9 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.005488, allocations: 3.938 kB / 409.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.782e-05/0.005586, allocations: 23.92 kB / 409.9 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.005989, allocations: 196.6 kB / 410.1 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.41e-05/0.006083, allocations: 34.61 kB / 410.1 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.00614, allocations: 20.91 kB / 410.2 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.006153, allocations: 0 / 410.2 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.006182, allocations: 34.5 kB / 410.2 MB, free: 76 kB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.006183, allocations: 0 / 410.2 MB, free: 76 kB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003012/0.006484, allocations: 73.61 kB / 410.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.006539, allocations: 77.11 kB / 410.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.006647, allocations: 105.9 kB / 410.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.006674, allocations: 33.7 kB / 410.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.00674, allocations: 84.14 kB / 410.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.006758, allocations: 0 / 410.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.006802, allocations: 21.7 kB / 410.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.006976, allocations: 314.8 kB / 410.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.007046, allocations: 11.98 kB / 410.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/0.007129, allocations: 51.42 kB / 410.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.899e-05/0.007228, allocations: 28.78 kB / 411 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.00723, allocations: 0 / 411 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001469/0.007377, allocations: 65.66 kB / 411 MB, free: 15.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.007396, allocations: 11.94 kB / 411.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.0074, allocations: 320 / 411.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.00742, allocations: 0 / 411.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.007494, allocations: 4 kB / 411.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.007503, allocations: 3.984 kB / 411.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.007563, allocations: 11.94 kB / 411.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.007577, allocations: 7.984 kB / 411.1 MB, free: 15.11 MB / 350.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 0.0001063/0.007683, allocations: 105.8 kB / 411.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.007719, allocations: 19.88 kB / 411.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.007748, allocations: 7.625 kB / 411.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.007749, allocations: 144 / 411.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.007757, allocations: 3.984 kB / 411.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.007761, allocations: 4 kB / 411.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.007918, allocations: 105.3 kB / 411.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007919, allocations: 0 / 411.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/0.007962, allocations: 7.938 kB / 411.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007963, allocations: 0 / 411.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.007977, allocations: 7.922 kB / 411.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.007978, allocations: 4 kB / 411.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007979, allocations: 0 / 411.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.008182, allocations: 147.5 kB / 411.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.008193, allocations: 4 kB / 411.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.008222, allocations: 11.92 kB / 411.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.008308, allocations: 4 kB / 411.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.008363, allocations: 7.984 kB / 411.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.008367, allocations: 0 / 411.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.295e-05/0.00844, allocations: 87.27 kB / 411.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.00844, allocations: 8.031 kB / 411.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.008669, allocations: 7.953 kB / 411.6 MB, free: 14.52 MB / 350.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 0.0001434/0.008813, allocations: 99.12 kB / 411.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.008985, allocations: 27.98 kB / 411.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.008988, allocations: 0 / 411.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.249e-05/0.00905, allocations: 11.98 kB / 411.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.009293, allocations: 4 kB / 411.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.009648, allocations: 128.9 kB / 411.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.009743, allocations: 71.19 kB / 411.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.009776, allocations: 0 / 411.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.009818, allocations: 12.48 kB / 412 MB, free: 14.11 MB / 350.1 MB Notification: Performance of SimCode: time 5e-07/0.009819, allocations: 0 / 412 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Templates: time 0.003623/0.01344, allocations: 0.6295 MB / 412.6 MB, free: 13.49 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.6798583678901196]