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.00192/0.00192, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001977/0.001977, allocations: 164.8 kB / 24.27 MB, free: 152 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.678/1.678, 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.3898/0.3898, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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 2.344e-06/2.344e-06, allocations: 0 / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.722e-05/3.956e-05, allocations: 4.562 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.004009/0.004048, allocations: 1.474 MB / 378.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.005342, allocations: 470.8 kB / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.005403, allocations: 0 / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.005433, allocations: 3.938 kB / 379.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.005499, allocations: 7.938 kB / 379.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.005811, allocations: 23.92 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.005934, allocations: 43.83 kB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.006029, allocations: 4 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.006225, allocations: 27.92 kB / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.006301, allocations: 19.91 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.006324, allocations: 7.938 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.006375, allocations: 4 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.006402, allocations: 7.984 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.006429, allocations: 8 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.006618, allocations: 47.81 kB / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.006621, allocations: 0 / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006622, allocations: 0 / 379.3 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.006628, allocations: 0 / 379.3 MB, free: 0.7852 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.0006654/0.007293, allocations: 376.2 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.007342, allocations: 8.031 kB / 379.7 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.007521, allocations: 12.94 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.007723, allocations: 120.6 kB / 379.8 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.00774, allocations: 4.375 kB / 379.8 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.007753, allocations: 4.375 kB / 379.8 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.008005, allocations: 103.2 kB / 379.9 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.008015, allocations: 192 / 379.9 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.008028, allocations: 384 / 379.9 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.008036, allocations: 3.938 kB / 379.9 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.008155, allocations: 19.98 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.008712, allocations: 255.8 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.008855, allocations: 42.98 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.008921, allocations: 19.75 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.008942, allocations: 0 / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.008996, allocations: 41.33 kB / 380.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.008997, allocations: 3.938 kB / 380.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003793/0.009376, allocations: 61.64 kB / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.009468, allocations: 77.11 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.009683, allocations: 181.8 kB / 380.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.009716, allocations: 25.7 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.009828, allocations: 134.9 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.009853, allocations: 8.016 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.009923, allocations: 27.38 kB / 380.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003551/0.01028, allocations: 0.4923 MB / 381.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.01035, allocations: 4 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.01046, allocations: 61.06 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.01057, allocations: 19.69 kB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01057, allocations: 0 / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002037/0.01077, allocations: 65.61 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.0108, allocations: 7.938 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.0108, allocations: 0 / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01082, allocations: 4.031 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.0109, allocations: 4 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.01091, allocations: 0 / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.01098, allocations: 7.984 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.01099, allocations: 0 / 381.5 MB, free: 14.38 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 0.0001596/0.01115, allocations: 160.6 kB / 381.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.01121, allocations: 11.89 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.01124, allocations: 3.625 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01124, allocations: 0 / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.01125, allocations: 4 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01125, allocations: 4 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.01148, allocations: 120.6 kB / 381.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01149, allocations: 4 kB / 381.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.01153, allocations: 3.984 kB / 381.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01153, allocations: 0 / 381.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.01155, allocations: 7.938 kB / 381.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01155, allocations: 0 / 381.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.01156, allocations: 4 kB / 381.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.01184, allocations: 196 kB / 382 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.01186, allocations: 7.938 kB / 382 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.0119, allocations: 23.89 kB / 382 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.01202, allocations: 4 kB / 382 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.01209, allocations: 3.984 kB / 382 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.0121, allocations: 4 kB / 382 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01222, allocations: 135.2 kB / 382.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01222, allocations: 0 / 382.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.01244, allocations: 4 kB / 382.2 MB, free: 13.63 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.0001219/0.01256, allocations: 95.25 kB / 382.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.01273, allocations: 39.61 kB / 382.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01273, allocations: 0 / 382.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.01279, allocations: 19.69 kB / 382.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.01301, allocations: 3.984 kB / 382.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.01339, allocations: 134.1 kB / 382.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.796e-05/0.01348, allocations: 63.34 kB / 382.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.925e-05/0.01352, allocations: 0 / 382.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.01357, allocations: 16.56 kB / 382.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01357, allocations: 4 kB / 382.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of Templates: time 0.004799/0.01837, allocations: 0.6485 MB / 383.2 MB, free: 12.55 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 240] 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: 5.214269518037327]