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.001476/0.001476, allocations: 109 kB / 20.45 MB, free: 1.504 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.001686/0.001686, allocations: 214.8 kB / 23.75 MB, free: 4.723 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.342/1.342, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 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.2014/0.2014, allocations: 44.23 MB / 331 MB, free: 9.523 MB / 270.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 74.53 kB / 468.7 MB, free: 4 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1047, allocations: 61.04 MB / 0.5174 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002523/0.1072, allocations: 1.452 MB / 0.5188 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007146/0.1079, allocations: 471.7 kB / 0.5192 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.108, allocations: 0 / 0.5192 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.108, allocations: 0 / 0.5192 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.108, allocations: 7.938 kB / 0.5192 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.1082, allocations: 19.92 kB / 0.5193 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.1083, allocations: 43.78 kB / 0.5193 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.1084, allocations: 8 kB / 0.5193 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.624e-05/0.1084, allocations: 19.92 kB / 0.5193 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.1085, allocations: 19.92 kB / 0.5193 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1085, allocations: 0 / 0.5193 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.1085, allocations: 4 kB / 0.5193 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.1085, allocations: 11.92 kB / 0.5194 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.1086, allocations: 15.92 kB / 0.5194 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.043e-05/0.1087, allocations: 27.84 kB / 0.5194 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1087, allocations: 4 kB / 0.5194 GB, free: 4.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1087, allocations: 0 / 0.5194 GB, free: 4.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1087, allocations: 0 / 0.5194 GB, free: 4.715 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.0004161/0.1091, allocations: 274.3 kB / 0.5197 GB, free: 4.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1091, allocations: 8.031 kB / 0.5197 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1091, allocations: 8.891 kB / 0.5197 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1093, allocations: 114.5 kB / 0.5198 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1093, allocations: 384 / 0.5198 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.1093, allocations: 384 / 0.5198 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1094, allocations: 71.62 kB / 0.5199 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1094, allocations: 4 kB / 0.5199 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1095, allocations: 4 kB / 0.5199 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1095, allocations: 0 / 0.5199 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/0.1095, allocations: 19.98 kB / 0.5199 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.1099, allocations: 227.9 kB / 0.5201 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.11, allocations: 34.56 kB / 0.5201 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.11, allocations: 20.86 kB / 0.5202 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.11, allocations: 3.984 kB / 0.5202 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1101, allocations: 34.56 kB / 0.5202 GB, free: 3.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1101, allocations: 0 / 0.5202 GB, free: 3.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000221/0.1103, allocations: 69.56 kB / 0.5203 GB, free: 3.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.1104, allocations: 77.11 kB / 0.5203 GB, free: 3.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.1104, allocations: 114 kB / 0.5204 GB, free: 3.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1105, allocations: 25.7 kB / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.1105, allocations: 84.14 kB / 0.5205 GB, free: 3.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.1105, allocations: 3.953 kB / 0.5206 GB, free: 3.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.1106, allocations: 17.72 kB / 0.5206 GB, free: 3.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1107, allocations: 322.8 kB / 0.5209 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.1107, allocations: 8 kB / 0.5209 GB, free: 3.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/0.1108, allocations: 33.7 kB / 0.5209 GB, free: 2.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.322e-05/0.1109, allocations: 28.78 kB / 0.5209 GB, free: 2.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1109, allocations: 0 / 0.5209 GB, free: 2.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001235/0.111, allocations: 57.67 kB / 0.521 GB, free: 2.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.111, allocations: 11.94 kB / 0.521 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.111, allocations: 0 / 0.521 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.111, allocations: 0 / 0.521 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.1111, allocations: 7.938 kB / 0.521 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1111, allocations: 4.031 kB / 0.521 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.1111, allocations: 7.984 kB / 0.521 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1112, allocations: 0 / 0.521 GB, free: 2.848 MB / 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 7.969e-05/0.1112, allocations: 113.8 kB / 0.5211 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.1113, allocations: 11.95 kB / 0.5211 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.1113, allocations: 7.609 kB / 0.5212 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1113, allocations: 0 / 0.5212 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1113, allocations: 0 / 0.5212 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1113, allocations: 0 / 0.5212 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.1114, allocations: 144.7 kB / 0.5213 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1114, allocations: 0 / 0.5213 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.1115, allocations: 8 kB / 0.5213 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1115, allocations: 0 / 0.5213 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1115, allocations: 0 / 0.5213 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1115, allocations: 0 / 0.5213 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1115, allocations: 0 / 0.5213 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1117, allocations: 155.5 kB / 0.5214 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.1117, allocations: 11.94 kB / 0.5215 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.1117, allocations: 0 / 0.5215 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.1118, allocations: 15.92 kB / 0.5215 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1118, allocations: 7.984 kB / 0.5215 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1118, allocations: 0 / 0.5215 GB, free: 2.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.398e-05/0.1119, allocations: 91.27 kB / 0.5216 GB, free: 2.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1119, allocations: 0 / 0.5216 GB, free: 2.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002036/0.1121, allocations: 4 kB / 0.5216 GB, free: 2.215 MB / 398.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 8.803e-05/0.1122, allocations: 95.28 kB / 0.5217 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.1123, allocations: 23.98 kB / 0.5217 GB, free: 2.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1123, allocations: 4 kB / 0.5217 GB, free: 2.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.1124, allocations: 15.92 kB / 0.5217 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.1125, allocations: 7.938 kB / 0.5217 GB, free: 2.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.1128, allocations: 160.5 kB / 0.5219 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1131, allocations: 0.6807 MB / 0.5225 GB, free: 1.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.1132, allocations: 7.438 kB / 0.5225 GB, free: 1.16 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1132, allocations: 0 / 0.5225 GB, free: 1.16 MB / 398.1 MB Notification: Performance of Templates: time 0.001966/0.1151, allocations: 0.6449 MB / 0.5232 GB, free: 0.5156 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins1/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: 6.332370440941304]