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.001788/0.001788, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002037/0.002037, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.522/1.522, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 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.3568/0.3568, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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 1.983e-06/1.983e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.137e-05, allocations: 2.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.003019/0.00305, allocations: 1.474 MB / 378.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.003991, allocations: 450.8 kB / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.004043, allocations: 0 / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.004078, allocations: 7.922 kB / 379.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.004136, allocations: 11.92 kB / 379.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.004372, allocations: 19.92 kB / 379.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.004484, allocations: 35.86 kB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.885e-05/0.004572, allocations: 15.97 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.004719, allocations: 27.92 kB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.004778, allocations: 15.92 kB / 379.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.004802, allocations: 0 / 379.2 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.004844, allocations: 8 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.004863, allocations: 11.97 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.004894, allocations: 11.94 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.005017, allocations: 43.81 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005019, allocations: 0 / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00502, allocations: 0 / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005023, allocations: 4 kB / 379.3 MB, free: 0.7812 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.0004788/0.005502, allocations: 274.2 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.00554, allocations: 12.03 kB / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.005705, allocations: 12.92 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.005913, allocations: 113.7 kB / 379.7 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.005926, allocations: 8.375 kB / 379.7 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.005937, allocations: 384 / 379.7 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.006131, allocations: 89.59 kB / 379.8 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.006139, allocations: 192 / 379.8 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006149, allocations: 4.375 kB / 379.8 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.006158, allocations: 3.938 kB / 379.8 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.00625, allocations: 19.98 kB / 379.8 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.006755, allocations: 204.6 kB / 380 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.006856, allocations: 30.56 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.006908, allocations: 16.86 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.006924, allocations: 7.938 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.006962, allocations: 38.48 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.006963, allocations: 4 kB / 380.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002641/0.007227, allocations: 65.64 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.007294, allocations: 77.11 kB / 380.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.007401, allocations: 113.8 kB / 380.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.007426, allocations: 29.7 kB / 380.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.007485, allocations: 80.14 kB / 380.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.007512, allocations: 15.89 kB / 380.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.007549, allocations: 17.66 kB / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.007726, allocations: 319 kB / 380.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.168e-05/0.007778, allocations: 12 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.00785, allocations: 51.41 kB / 380.9 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.43e-05/0.007935, allocations: 28.84 kB / 380.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.007936, allocations: 0 / 380.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001365/0.008073, allocations: 61.81 kB / 381 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.008088, allocations: 7.938 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.008095, allocations: 3.984 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.00811, allocations: 0 / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.008179, allocations: 11.97 kB / 381 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.008184, allocations: 0 / 381 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/0.008245, allocations: 11.98 kB / 381 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.008251, allocations: 0 / 381 MB, free: 14.87 MB / 362.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 9.895e-05/0.00835, allocations: 113.8 kB / 381.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.008379, allocations: 7.891 kB / 381.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.008406, allocations: 15.61 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.008407, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008411, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.008414, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.008566, allocations: 113.3 kB / 381.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.008567, allocations: 0 / 381.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.008605, allocations: 4 kB / 381.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.008606, allocations: 0 / 381.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.008617, allocations: 3.938 kB / 381.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.008621, allocations: 3.984 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008621, allocations: 3.938 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.008811, allocations: 147.5 kB / 381.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.00882, allocations: 3.953 kB / 381.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.00884, allocations: 7.969 kB / 381.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.00893, allocations: 15.98 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.008977, allocations: 3.984 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.008981, allocations: 4 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.941e-05/0.009041, allocations: 87.27 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009041, allocations: 4 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.009256, allocations: 4 kB / 381.6 MB, free: 14.28 MB / 362.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 0.0001128/0.009368, allocations: 91.25 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.009523, allocations: 31.98 kB / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.009524, allocations: 0 / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.009573, allocations: 15.92 kB / 381.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.009828, allocations: 0 / 381.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.01016, allocations: 136.5 kB / 381.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.695e-05/0.01024, allocations: 63.34 kB / 381.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.272e-05/0.01027, allocations: 3.984 kB / 381.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.01031, allocations: 16.56 kB / 381.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01031, allocations: 0 / 381.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of Templates: time 0.003151/0.01346, allocations: 0.6521 MB / 382.6 MB, free: 13.23 MB / 362.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins/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: 4.767187204095535]