Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.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.001766/0.001766, allocations: 81.7 kB / 21.25 MB, free: 0.5469 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.002097/0.002097, allocations: 160.3 kB / 24.5 MB, free: 3.719 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.506/1.506, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.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.2123/0.2123, allocations: 34.27 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] 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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 79.88 kB / 443.1 MB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.399, allocations: 66.06 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.003285/0.4023, allocations: 1.483 MB / 0.4987 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009228/0.4032, allocations: 446.4 kB / 0.4991 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.4033, allocations: 7.125 kB / 0.4991 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.4033, allocations: 3.938 kB / 0.4991 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.4033, allocations: 3.938 kB / 0.4991 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.4036, allocations: 32.8 kB / 0.4992 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.4037, allocations: 32.28 kB / 0.4992 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.4039, allocations: 10.66 kB / 0.4992 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.404, allocations: 23.72 kB / 0.4992 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.4041, allocations: 18.03 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.4041, allocations: 2.969 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.4042, allocations: 6.469 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.4042, allocations: 11.94 kB / 0.4993 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.4042, allocations: 10.36 kB / 0.4993 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.4044, allocations: 38.22 kB / 0.4993 GB, free: 28.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.4044, allocations: 0 / 0.4993 GB, free: 28.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4044, allocations: 0 / 0.4993 GB, free: 28.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.4044, allocations: 0 / 0.4993 GB, free: 28.36 MB / 446.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.0006405/0.4051, allocations: 286.5 kB / 0.4996 GB, free: 28.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.4051, allocations: 8.875 kB / 0.4996 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.4053, allocations: 13.78 kB / 0.4996 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.4055, allocations: 117 kB / 0.4997 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.4055, allocations: 3.438 kB / 0.4997 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.4055, allocations: 4.375 kB / 0.4997 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.4057, allocations: 92.52 kB / 0.4998 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.4057, allocations: 0 / 0.4998 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4057, allocations: 0 / 0.4998 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4057, allocations: 0 / 0.4998 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.4058, allocations: 24.12 kB / 0.4998 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.4061, allocations: 203.3 kB / 0.5 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.4063, allocations: 39.56 kB / 0.5001 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.34e-05/0.4063, allocations: 19.2 kB / 0.5001 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.4064, allocations: 7.547 kB / 0.5001 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.4064, allocations: 30.56 kB / 0.5001 GB, free: 27.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.4064, allocations: 7.094 kB / 0.5001 GB, free: 27.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002608/0.4066, allocations: 59.41 kB / 0.5002 GB, free: 27.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4067, allocations: 80.3 kB / 0.5003 GB, free: 27.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.4068, allocations: 110.9 kB / 0.5004 GB, free: 27.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.4068, allocations: 25.7 kB / 0.5004 GB, free: 27.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.4068, allocations: 90.69 kB / 0.5005 GB, free: 27.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.4068, allocations: 15.83 kB / 0.5005 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.4069, allocations: 16.03 kB / 0.5005 GB, free: 27.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.407, allocations: 318.2 kB / 0.5008 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.407, allocations: 6.188 kB / 0.5008 GB, free: 26.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.4071, allocations: 52.12 kB / 0.5009 GB, free: 26.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.357e-05/0.4071, allocations: 25.12 kB / 0.5009 GB, free: 26.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4071, allocations: 32 / 0.5009 GB, free: 26.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001169/0.4072, allocations: 67.59 kB / 0.501 GB, free: 26.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4073, allocations: 6.375 kB / 0.501 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4073, allocations: 0 / 0.501 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4073, allocations: 0 / 0.501 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.4074, allocations: 10.41 kB / 0.501 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4074, allocations: 0 / 0.501 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.4074, allocations: 13.67 kB / 0.501 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4074, allocations: 4 kB / 0.501 GB, free: 26.72 MB / 446.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 9.054e-05/0.4075, allocations: 121 kB / 0.5011 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.4076, allocations: 2.938 kB / 0.5011 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.4076, allocations: 7.094 kB / 0.5011 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4076, allocations: 3.188 kB / 0.5011 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4076, allocations: 0 / 0.5011 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4076, allocations: 384 / 0.5011 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4077, allocations: 107 kB / 0.5012 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4077, allocations: 3.938 kB / 0.5012 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.4078, allocations: 3.219 kB / 0.5012 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4078, allocations: 3.938 kB / 0.5012 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.4078, allocations: 3.469 kB / 0.5012 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4078, allocations: 4 kB / 0.5012 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4078, allocations: 0 / 0.5012 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.4079, allocations: 157.7 kB / 0.5014 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.408, allocations: 11.09 kB / 0.5014 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.408, allocations: 0 / 0.5014 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.4081, allocations: 9.969 kB / 0.5014 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.4081, allocations: 10.77 kB / 0.5014 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.4081, allocations: 0 / 0.5014 GB, free: 26.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.147e-05/0.4082, allocations: 89.19 kB / 0.5015 GB, free: 26.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4082, allocations: 4.031 kB / 0.5015 GB, free: 26.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.4084, allocations: 6.469 kB / 0.5015 GB, free: 26.21 MB / 446.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.0001014/0.4085, allocations: 88.88 kB / 0.5016 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.4087, allocations: 26.45 kB / 0.5016 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4087, allocations: 0 / 0.5016 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/0.4088, allocations: 17.91 kB / 0.5016 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.409, allocations: 3.938 kB / 0.5017 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.4094, allocations: 137 kB / 0.5018 GB, free: 25.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.455e-05/0.4094, allocations: 60.94 kB / 0.5018 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.233e-05/0.4095, allocations: 3.359 kB / 0.5018 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.4095, allocations: 8.5 kB / 0.5019 GB, free: 25.91 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4095, allocations: 0 / 0.5019 GB, free: 25.91 MB / 446.1 MB Notification: Performance of Templates: time 0.004031/0.4135, allocations: 0.6393 MB / 0.5025 GB, free: 25.8 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.017705175909214]