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.0008027/0.0008027, allocations: 84.44 kB / 20.69 MB, free: 3.859 MB / 18.57 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.0007594/0.0007594, allocations: 173.9 kB / 23.97 MB, free: 0.5859 MB / 18.57 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 0.8953/0.8953, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1369/0.1369, allocations: 32.37 MB / 270.4 MB, free: 14.98 MB / 266.7 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.453e-06/1.453e-06, allocations: 0 / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.305e-05, allocations: 10.02 kB / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.00175/0.001774, allocations: 1.445 MB / 409.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005644/0.002338, allocations: 443.6 kB / 410 MB, free: 11.15 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.00237, allocations: 4 kB / 410 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.002396, allocations: 0 / 410 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.153e-05/0.002438, allocations: 3.938 kB / 410 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.00262, allocations: 15.92 kB / 410 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.002692, allocations: 35.91 kB / 410 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.002785, allocations: 7.984 kB / 410 MB, free: 11.08 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.669e-05/0.002881, allocations: 31.8 kB / 410.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.002935, allocations: 7.984 kB / 410.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.002958, allocations: 4 kB / 410.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.036e-06/0.002966, allocations: 4 kB / 410.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.002984, allocations: 15.92 kB / 410.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.003005, allocations: 8 kB / 410.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.677e-05/0.003092, allocations: 27.95 kB / 410.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003094, allocations: 0 / 410.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003095, allocations: 0 / 410.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003099, allocations: 3.938 kB / 410.1 MB, free: 10.98 MB / 346.7 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.0003558/0.003455, allocations: 274.2 kB / 410.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.003492, allocations: 8.031 kB / 410.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.003524, allocations: 4.938 kB / 410.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.003606, allocations: 129.7 kB / 410.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.003617, allocations: 384 / 410.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.003626, allocations: 384 / 410.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.003771, allocations: 85.66 kB / 410.6 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.003778, allocations: 4.125 kB / 410.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.003793, allocations: 384 / 410.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.003799, allocations: 3.938 kB / 410.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.3e-05/0.003852, allocations: 19.98 kB / 410.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.004158, allocations: 208.6 kB / 410.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.004225, allocations: 34.56 kB / 410.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.004252, allocations: 8.922 kB / 410.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.004269, allocations: 4 kB / 410.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.004294, allocations: 42.42 kB / 410.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.004295, allocations: 0 / 410.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000184/0.004479, allocations: 65.62 kB / 411 MB, free: 9.977 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003805/0.00486, allocations: 85.09 kB / 411.1 MB, free: 9.875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/0.004923, allocations: 101.9 kB / 411.2 MB, free: 9.766 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.004939, allocations: 37.81 kB / 411.2 MB, free: 9.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.004977, allocations: 84.14 kB / 411.3 MB, free: 9.637 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.004994, allocations: 4 kB / 411.3 MB, free: 9.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.005021, allocations: 13.72 kB / 411.3 MB, free: 9.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.0051, allocations: 318.8 kB / 411.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.005128, allocations: 8 kB / 411.6 MB, free: 9.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.005176, allocations: 55.34 kB / 411.7 MB, free: 9.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.625e-05/0.005223, allocations: 24.84 kB / 411.7 MB, free: 9.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005225, allocations: 0 / 411.7 MB, free: 9.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.466e-05/0.005299, allocations: 69.66 kB / 411.8 MB, free: 9.117 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.005311, allocations: 7.938 kB / 411.8 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005316, allocations: 0 / 411.8 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.005326, allocations: 4 kB / 411.8 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.005379, allocations: 4 kB / 411.8 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.005385, allocations: 4 kB / 411.8 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.005411, allocations: 11.92 kB / 411.8 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.005416, allocations: 3.938 kB / 411.8 MB, free: 9.082 MB / 346.7 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 5.622e-05/0.005472, allocations: 113.8 kB / 411.9 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.005486, allocations: 11.89 kB / 411.9 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.005504, allocations: 11.61 kB / 412 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.005506, allocations: 0 / 412 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.00551, allocations: 0 / 412 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005512, allocations: 0 / 412 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.288e-05/0.005595, allocations: 109.3 kB / 412.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005597, allocations: 0 / 412.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.005611, allocations: 0 / 412.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.005612, allocations: 4 kB / 412.1 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.005619, allocations: 3.938 kB / 412.1 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.005619, allocations: 0 / 412.1 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.00562, allocations: 4 kB / 412.1 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.058e-05/0.00571, allocations: 147.5 kB / 412.2 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.005715, allocations: 4 kB / 412.2 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.00573, allocations: 7.875 kB / 412.2 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.00577, allocations: 15.92 kB / 412.2 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.005802, allocations: 3.984 kB / 412.2 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005804, allocations: 0 / 412.2 MB, free: 8.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.048e-05/0.005834, allocations: 95.56 kB / 412.3 MB, free: 8.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005834, allocations: 0 / 412.3 MB, free: 8.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.005967, allocations: 15.98 kB / 412.4 MB, free: 8.488 MB / 346.7 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 6.087e-05/0.006028, allocations: 91.25 kB / 412.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.962e-05/0.006118, allocations: 23.98 kB / 412.5 MB, free: 8.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006119, allocations: 4 kB / 412.5 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.006143, allocations: 15.98 kB / 412.5 MB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.006278, allocations: 2.344 kB / 412.5 MB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.006503, allocations: 150.6 kB / 412.6 MB, free: 8.164 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.911e-05/0.006553, allocations: 67.25 kB / 412.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.006583, allocations: 16.5 kB / 412.7 MB, free: 8.062 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.006584, allocations: 0 / 412.7 MB, free: 8.062 MB / 346.7 MB Notification: Performance of Templates: time 0.001321/0.007905, allocations: 0.6563 MB / 413.4 MB, free: 7.41 MB / 346.7 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.089008938521147]