Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 75.77 kB / 20.51 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 167.4 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 158.6 MB / 185.5 MB, free: 6.125 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2228/0.2228, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 68.47 kB / 407.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1424, allocations: 61.05 MB / 468.8 MB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002987/0.1453, allocations: 1.437 MB / 470.2 MB, free: 6.867 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008123/0.1462, allocations: 435.7 kB / 470.6 MB, free: 6.434 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.1462, allocations: 4 kB / 470.7 MB, free: 6.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.1462, allocations: 7.922 kB / 470.7 MB, free: 6.422 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.964e-05/0.1463, allocations: 7.922 kB / 470.7 MB, free: 6.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.1465, allocations: 19.92 kB / 470.7 MB, free: 6.395 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.1466, allocations: 31.86 kB / 470.7 MB, free: 6.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.1467, allocations: 4 kB / 470.7 MB, free: 6.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.586e-05/0.1468, allocations: 23.91 kB / 470.7 MB, free: 6.336 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.1469, allocations: 15.92 kB / 470.8 MB, free: 6.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1469, allocations: 4 kB / 470.8 MB, free: 6.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.1469, allocations: 4 kB / 470.8 MB, free: 6.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.1469, allocations: 8 kB / 470.8 MB, free: 6.305 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.147, allocations: 11.94 kB / 470.8 MB, free: 6.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1471, allocations: 35.88 kB / 470.8 MB, free: 6.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1471, allocations: 0 / 470.8 MB, free: 6.258 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1471, allocations: 0 / 470.8 MB, free: 6.258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1471, allocations: 0 / 470.8 MB, free: 6.258 MB / 446.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.0004995/0.1476, allocations: 270.3 kB / 471.1 MB, free: 5.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1476, allocations: 8.031 kB / 471.1 MB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.1477, allocations: 4.891 kB / 471.1 MB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1478, allocations: 114.4 kB / 471.2 MB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1478, allocations: 8.375 kB / 471.2 MB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.1478, allocations: 384 / 471.2 MB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.148, allocations: 93.41 kB / 471.3 MB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.148, allocations: 0 / 471.3 MB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.148, allocations: 0 / 471.3 MB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.148, allocations: 0 / 471.3 MB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.102e-05/0.1481, allocations: 19.98 kB / 471.3 MB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.1485, allocations: 208.5 kB / 471.5 MB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1486, allocations: 42.5 kB / 471.6 MB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.1487, allocations: 16.92 kB / 471.6 MB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1487, allocations: 0 / 471.6 MB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.1487, allocations: 38.5 kB / 471.6 MB, free: 5.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1487, allocations: 0 / 471.6 MB, free: 5.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002478/0.149, allocations: 61.61 kB / 471.7 MB, free: 5.262 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.149, allocations: 77.11 kB / 471.8 MB, free: 5.168 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.1491, allocations: 117.8 kB / 471.9 MB, free: 5.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1492, allocations: 25.83 kB / 471.9 MB, free: 5.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.1492, allocations: 92.14 kB / 472 MB, free: 4.918 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.1492, allocations: 7.938 kB / 472 MB, free: 4.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1493, allocations: 17.72 kB / 472 MB, free: 4.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1494, allocations: 310.8 kB / 472.3 MB, free: 4.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.166e-05/0.1495, allocations: 15.98 kB / 472.3 MB, free: 4.559 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.1495, allocations: 51.41 kB / 472.4 MB, free: 4.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.192e-05/0.1496, allocations: 24.84 kB / 472.4 MB, free: 4.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1496, allocations: 0 / 472.4 MB, free: 4.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001303/0.1498, allocations: 69.53 kB / 472.5 MB, free: 4.395 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1498, allocations: 4 kB / 472.5 MB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1498, allocations: 0 / 472.5 MB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1498, allocations: 0 / 472.5 MB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.084e-05/0.1499, allocations: 7.984 kB / 472.5 MB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1499, allocations: 0 / 472.5 MB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.1499, allocations: 15.94 kB / 472.5 MB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.15, allocations: 4 kB / 472.5 MB, free: 4.363 MB / 446.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.0001017/0.1501, allocations: 113.8 kB / 472.6 MB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.1501, allocations: 144 / 472.6 MB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.1501, allocations: 19.61 kB / 472.6 MB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1501, allocations: 0 / 472.6 MB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1501, allocations: 0 / 472.6 MB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1501, allocations: 0 / 472.6 MB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1503, allocations: 105.3 kB / 472.7 MB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1503, allocations: 3.938 kB / 472.8 MB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.1503, allocations: 11.92 kB / 472.8 MB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1503, allocations: 0 / 472.8 MB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1503, allocations: 0 / 472.8 MB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1503, allocations: 4 kB / 472.8 MB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1503, allocations: 0 / 472.8 MB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1505, allocations: 151.5 kB / 472.9 MB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.1505, allocations: 15.88 kB / 472.9 MB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1505, allocations: 0 / 472.9 MB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.1506, allocations: 7.984 kB / 472.9 MB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.1506, allocations: 7.984 kB / 472.9 MB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1506, allocations: 4 kB / 473 MB, free: 3.875 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.117e-05/0.1507, allocations: 91.27 kB / 473 MB, free: 3.785 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1507, allocations: 0 / 473 MB, free: 3.785 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000209/0.1509, allocations: 4 kB / 473 MB, free: 3.781 MB / 446.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.726e-05/0.151, allocations: 99.27 kB / 473.1 MB, free: 3.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1512, allocations: 31.92 kB / 473.2 MB, free: 3.641 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1512, allocations: 0 / 473.2 MB, free: 3.641 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.1512, allocations: 8 kB / 473.2 MB, free: 3.633 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.1514, allocations: 11.94 kB / 473.2 MB, free: 3.621 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.1518, allocations: 126.7 kB / 473.3 MB, free: 3.473 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.003e-05/0.1518, allocations: 71.41 kB / 473.4 MB, free: 3.383 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.724e-05/0.1519, allocations: 3.938 kB / 473.4 MB, free: 3.379 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.1519, allocations: 12.5 kB / 473.4 MB, free: 3.367 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1519, allocations: 0 / 473.4 MB, free: 3.367 MB / 446.1 MB Notification: Performance of Templates: time 0.003181/0.1551, allocations: 0.6297 MB / 474 MB, free: 2.746 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Hysteresis/Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.25838420598302]