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.001832/0.001832, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002232/0.002232, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.581/1.581, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.2419/0.2419, allocations: 46.96 MB / 361.6 MB, free: 3.934 MB / 286.1 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 0.003433/0.003433, allocations: 75.88 kB / 0.4974 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4766/0.4801, allocations: 66.1 MB / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002978/0.483, allocations: 1.463 MB / 0.5633 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009493/0.484, allocations: 447 kB / 0.5638 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.4841, allocations: 4 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.675e-05/0.4841, allocations: 3.938 kB / 0.5638 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.489e-05/0.4841, allocations: 3.938 kB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.4844, allocations: 39.89 kB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.4845, allocations: 31.86 kB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.4846, allocations: 7.938 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.4847, allocations: 31.91 kB / 0.5639 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.4848, allocations: 11.92 kB / 0.5639 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.4848, allocations: 4 kB / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.372e-05/0.4849, allocations: 12 kB / 0.5639 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.4849, allocations: 7.922 kB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.4849, allocations: 11.94 kB / 0.5639 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.485, allocations: 43.53 kB / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4851, allocations: 0 / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4851, allocations: 0 / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.4851, allocations: 0 / 0.564 GB, free: 1.836 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.000545/0.4856, allocations: 276.9 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4856, allocations: 8.031 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.4858, allocations: 12.92 kB / 0.5642 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.486, allocations: 122.5 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4861, allocations: 4.375 kB / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.4861, allocations: 384 / 0.5644 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.4863, allocations: 93.36 kB / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4863, allocations: 0 / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4863, allocations: 0 / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4863, allocations: 0 / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/0.4864, allocations: 23.97 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.4868, allocations: 200.6 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.4869, allocations: 46.44 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.4869, allocations: 12.92 kB / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.487, allocations: 0 / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.487, allocations: 38.56 kB / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.487, allocations: 0 / 0.5648 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002515/0.4872, allocations: 57.67 kB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.4873, allocations: 81.11 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4874, allocations: 125.8 kB / 0.565 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4874, allocations: 25.7 kB / 0.565 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.4875, allocations: 92.12 kB / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.4875, allocations: 7.891 kB / 0.5651 GB, free: 480 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.4876, allocations: 17.72 kB / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4877, allocations: 314.8 kB / 0.5654 GB, free: 132 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.4878, allocations: 12 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/0.4879, allocations: 51.41 kB / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.109e-05/0.4879, allocations: 28.84 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4879, allocations: 32 / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001486/0.4881, allocations: 69.55 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4881, allocations: 8 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4881, allocations: 0 / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4881, allocations: 144 / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.4882, allocations: 4 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4882, allocations: 0 / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.4883, allocations: 11.94 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4883, allocations: 3.984 kB / 0.5656 GB, free: 15.92 MB / 414.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 0.0001059/0.4884, allocations: 117.8 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.4884, allocations: 4 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.4884, allocations: 11.61 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4884, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4884, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4884, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.4886, allocations: 113.3 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4886, allocations: 3.938 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.4886, allocations: 4 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4886, allocations: 0 / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4886, allocations: 0 / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4886, allocations: 4 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4887, allocations: 0 / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.4888, allocations: 159.4 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.4888, allocations: 3.938 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.4889, allocations: 4 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.489, allocations: 7.984 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.489, allocations: 11.92 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.489, allocations: 4 kB / 0.5661 GB, free: 15.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.461e-05/0.4891, allocations: 95.58 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4891, allocations: 4.031 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.4893, allocations: 8 kB / 0.5662 GB, free: 15.32 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 0.0001091/0.4894, allocations: 91.25 kB / 0.5662 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.4896, allocations: 27.92 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4896, allocations: 0 / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.4896, allocations: 15.98 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.4898, allocations: 3.938 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.4902, allocations: 156.7 kB / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.157e-05/0.4903, allocations: 63.34 kB / 0.5665 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.4903, allocations: 15.42 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4903, allocations: 0 / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Templates: time 0.00248/0.4928, allocations: 0.6733 MB / 0.5672 GB, free: 14.23 MB / 414.1 MB " [Timeout remaining time 659] 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.757547374814749]