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.001583/0.001583, allocations: 109.1 kB / 21.18 MB, free: 0.7617 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.001484/0.001484, allocations: 209.7 kB / 24.49 MB, free: 4.148 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.438/1.438, allocations: 230.5 MB / 258.1 MB, free: 8.039 MB / 206.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.2349/0.2349, allocations: 46.92 MB / 361.5 MB, free: 4.223 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.002281/0.002281, allocations: 79.86 kB / 0.4974 GB, free: 7.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4267, allocations: 66.08 MB / 0.5619 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002833/0.4295, allocations: 1.476 MB / 0.5634 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.4304, allocations: 482.8 kB / 0.5638 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.4305, allocations: 7.938 kB / 0.5638 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.4305, allocations: 4 kB / 0.5639 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.688e-05/0.4305, allocations: 3.938 kB / 0.5639 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.4308, allocations: 31.91 kB / 0.5639 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.4309, allocations: 47.72 kB / 0.5639 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.431, allocations: 8 kB / 0.5639 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.4311, allocations: 15.98 kB / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.4312, allocations: 19.91 kB / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.4312, allocations: 4 kB / 0.564 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.011e-05/0.4313, allocations: 4 kB / 0.564 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.4313, allocations: 11.94 kB / 0.564 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.4313, allocations: 19.92 kB / 0.564 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.4314, allocations: 35.55 kB / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4314, allocations: 0 / 0.564 GB, free: 2.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4314, allocations: 3.938 kB / 0.5641 GB, free: 2.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.4314, allocations: 0 / 0.5641 GB, free: 2.098 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.0004656/0.4319, allocations: 284.9 kB / 0.5643 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4319, allocations: 8.031 kB / 0.5643 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.4321, allocations: 8.938 kB / 0.5643 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.4323, allocations: 126.5 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-06/0.4323, allocations: 4.312 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.4323, allocations: 384 / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.4325, allocations: 67.7 kB / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.4325, allocations: 0 / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4325, allocations: 0 / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-06/0.4325, allocations: 0 / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.71e-05/0.4326, allocations: 27.92 kB / 0.5646 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.433, allocations: 239.9 kB / 0.5648 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.578e-05/0.4331, allocations: 30.56 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.4331, allocations: 8.922 kB / 0.5648 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.4331, allocations: 4 kB / 0.5648 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.4331, allocations: 34.56 kB / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4331, allocations: 0 / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.4334, allocations: 65.61 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.4334, allocations: 77.11 kB / 0.565 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4335, allocations: 117.8 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.4336, allocations: 25.7 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.4336, allocations: 92.12 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.4336, allocations: 12.02 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.4337, allocations: 13.72 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4338, allocations: 318.8 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.874e-05/0.4339, allocations: 12 kB / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.4339, allocations: 25.7 kB / 0.5656 GB, free: 344 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.074e-05/0.434, allocations: 36.72 kB / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.434, allocations: 4.031 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001324/0.4341, allocations: 53.69 kB / 0.5657 GB, free: 240 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4342, allocations: 9.859 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.4342, allocations: 0 / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4342, allocations: 0 / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.4342, allocations: 4 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.4342, allocations: 0 / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.978e-05/0.4343, allocations: 15.94 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.4343, allocations: 0 / 0.5657 GB, free: 212 kB / 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 9.572e-05/0.4344, allocations: 125.7 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.4344, allocations: 0 / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.4345, allocations: 15.56 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.4345, allocations: 0 / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4345, allocations: 144 / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.4345, allocations: 7.969 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.4346, allocations: 132.7 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4346, allocations: 0 / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.4347, allocations: 3.984 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.4347, allocations: 8 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.4347, allocations: 0 / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.4347, allocations: 0 / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4347, allocations: 0 / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.4349, allocations: 155.4 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.4349, allocations: 4 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4349, allocations: 0 / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.435, allocations: 12.02 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.435, allocations: 7.984 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.435, allocations: 3.938 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.504e-05/0.4351, allocations: 95.58 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4351, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.4353, allocations: 4 kB / 0.5663 GB, free: 15.57 MB / 414.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 9.955e-05/0.4354, allocations: 95.25 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.4356, allocations: 27.98 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4356, allocations: 0 / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.4356, allocations: 15.98 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.4359, allocations: 7.938 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.4362, allocations: 156.6 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.4365, allocations: 0.6807 MB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.4366, allocations: 7.5 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4366, allocations: 8 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of Templates: time 0.002245/0.4388, allocations: 0.6669 MB / 0.5679 GB, free: 13.85 MB / 414.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 -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: 7.423923241905868]