Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 105.9 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 195.3 kB / 23.52 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 252.1 MB, free: 13.4 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 44.91 MB / 352.1 MB, free: 12.28 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.89 kB / 495.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3744, allocations: 64.26 MB / 0.5467 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002891/0.3773, allocations: 1.457 MB / 0.5482 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.3781, allocations: 416 kB / 0.5486 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.3781, allocations: 0 / 0.5486 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.3781, allocations: 3.984 kB / 0.5486 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.3782, allocations: 13.44 kB / 0.5486 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.3784, allocations: 19.12 kB / 0.5486 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.684e-05/0.3784, allocations: 29.86 kB / 0.5486 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.3785, allocations: 2.781 kB / 0.5486 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.3786, allocations: 23.08 kB / 0.5486 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.3787, allocations: 20.72 kB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3787, allocations: 1.812 kB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.3787, allocations: 3.031 kB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.3788, allocations: 5.312 kB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.3788, allocations: 20.55 kB / 0.5487 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.822e-05/0.3789, allocations: 34.34 kB / 0.5487 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3789, allocations: 1.156 kB / 0.5487 GB, free: 11.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3789, allocations: 0 / 0.5487 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3789, allocations: 0 / 0.5487 GB, free: 11.6 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.0004972/0.3794, allocations: 346.1 kB / 0.5491 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3794, allocations: 9.031 kB / 0.5491 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.3795, allocations: 11.31 kB / 0.5491 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3796, allocations: 174.4 kB / 0.5492 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3796, allocations: 5.438 kB / 0.5493 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.3796, allocations: 1.312 kB / 0.5493 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3798, allocations: 70.7 kB / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3798, allocations: 0 / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3798, allocations: 0 / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3798, allocations: 5.078 kB / 0.5493 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.3799, allocations: 19.58 kB / 0.5493 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.3803, allocations: 266.5 kB / 0.5496 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.213e-05/0.3804, allocations: 31.05 kB / 0.5496 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.3805, allocations: 15.28 kB / 0.5496 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.3805, allocations: 0 / 0.5496 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3805, allocations: 31.72 kB / 0.5497 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3805, allocations: 7.938 kB / 0.5497 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002478/0.3808, allocations: 63.23 kB / 0.5497 GB, free: 10.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.3809, allocations: 78.11 kB / 0.5498 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.381, allocations: 111.2 kB / 0.5499 GB, free: 10.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.381, allocations: 26.8 kB / 0.5499 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.381, allocations: 86.48 kB / 0.55 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.3811, allocations: 9.047 kB / 0.55 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.3811, allocations: 21.23 kB / 0.5501 GB, free: 10.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3812, allocations: 316.1 kB / 0.5504 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.3813, allocations: 10.92 kB / 0.5504 GB, free: 9.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-05/0.3814, allocations: 25.75 kB / 0.5504 GB, free: 9.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.22e-05/0.3814, allocations: 29.38 kB / 0.5504 GB, free: 9.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3814, allocations: 0 / 0.5504 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001398/0.3816, allocations: 67.72 kB / 0.5505 GB, free: 9.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3816, allocations: 11.38 kB / 0.5505 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3816, allocations: 0.9062 kB / 0.5505 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3816, allocations: 3.938 kB / 0.5505 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.3817, allocations: 7.453 kB / 0.5505 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3817, allocations: 1.062 kB / 0.5505 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.3817, allocations: 4.531 kB / 0.5505 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3817, allocations: 1.156 kB / 0.5505 GB, free: 9.719 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 9.691e-05/0.3818, allocations: 126.1 kB / 0.5506 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.3819, allocations: 2.219 kB / 0.5506 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.3819, allocations: 8.641 kB / 0.5506 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3819, allocations: 0 / 0.5506 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3819, allocations: 1.156 kB / 0.5506 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3819, allocations: 0 / 0.5506 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.3821, allocations: 171.2 kB / 0.5508 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3821, allocations: 0 / 0.5508 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.3821, allocations: 3.531 kB / 0.5508 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3821, allocations: 1.188 kB / 0.5508 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3821, allocations: 3.984 kB / 0.5508 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3821, allocations: 4 kB / 0.5508 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3821, allocations: 1.062 kB / 0.5508 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.3823, allocations: 153 kB / 0.551 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.3824, allocations: 78.36 kB / 0.551 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.3824, allocations: 7.984 kB / 0.5511 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.3825, allocations: 6.188 kB / 0.5511 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3825, allocations: 10.55 kB / 0.5511 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.3825, allocations: 1.188 kB / 0.5511 GB, free: 9.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.279e-05/0.3826, allocations: 90.39 kB / 0.5512 GB, free: 9.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3826, allocations: 0 / 0.5512 GB, free: 9.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.3828, allocations: 9.438 kB / 0.5512 GB, free: 9.016 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 9.557e-05/0.3829, allocations: 92.02 kB / 0.5513 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.383, allocations: 31.31 kB / 0.5513 GB, free: 8.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.383, allocations: 5.062 kB / 0.5513 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.999e-05/0.3831, allocations: 15.45 kB / 0.5513 GB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.3833, allocations: 6.156 kB / 0.5513 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.3836, allocations: 150.8 kB / 0.5515 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.3839, allocations: 0.683 MB / 0.5521 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.3839, allocations: 13.53 kB / 0.5521 GB, free: 8.035 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3839, allocations: 64 / 0.5521 GB, free: 8.035 MB / 398.1 MB Notification: Performance of Templates: time 0.002133/0.3861, allocations: 0.6411 MB / 0.5528 GB, free: 7.711 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches