Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001644/0.001644, allocations: 116.2 kB / 18.5 MB, free: 4.543 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.001874/0.001874, allocations: 201 kB / 21.45 MB, free: 1.59 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.636/1.636, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 63.89 kB / 373.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1403, allocations: 53.31 MB / 427.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003941/0.1442, allocations: 1.636 MB / 428.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1458, allocations: 0.5843 MB / 429.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1459, allocations: 8 kB / 429.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.973e-05/0.146, allocations: 11.86 kB / 429.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1462, allocations: 7.875 kB / 429.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.1466, allocations: 71.73 kB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1468, allocations: 59.78 kB / 429.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.147, allocations: 16.22 kB / 429.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.1471, allocations: 35.78 kB / 429.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1473, allocations: 27.86 kB / 429.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1473, allocations: 4 kB / 429.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.914e-05/0.1473, allocations: 4 kB / 429.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.1474, allocations: 23.92 kB / 429.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.1475, allocations: 31.73 kB / 429.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1477, allocations: 75.59 kB / 429.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1477, allocations: 0 / 429.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.1477, allocations: 4 kB / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1477, allocations: 0 / 429.8 MB, free: 1.852 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000779/0.1485, allocations: 394.9 kB / 430.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.1485, allocations: 12.03 kB / 430.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.1487, allocations: 20.84 kB / 430.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.1492, allocations: 216.1 kB / 430.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1492, allocations: 384 / 430.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.1492, allocations: 4.375 kB / 430.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.1496, allocations: 151 kB / 430.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1496, allocations: 0 / 430.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1496, allocations: 0 / 430.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.1496, allocations: 4 kB / 430.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.1497, allocations: 23.92 kB / 430.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.1502, allocations: 299.3 kB / 430.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.1503, allocations: 94.41 kB / 430.9 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.1504, allocations: 51.42 kB / 431 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.1504, allocations: 4 kB / 431 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.1505, allocations: 30.56 kB / 431 MB, free: 356 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1505, allocations: 0 / 431 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003388/0.1508, allocations: 105.5 kB / 431.1 MB, free: 244 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.1509, allocations: 136.5 kB / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1511, allocations: 150.2 kB / 431.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1512, allocations: 26.2 kB / 431.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.1513, allocations: 96.14 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1513, allocations: 7.938 kB / 431.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1513, allocations: 17.72 kB / 431.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1515, allocations: 330.7 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.1515, allocations: 8 kB / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.784e-05/0.1516, allocations: 49.14 kB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.1517, allocations: 61.08 kB / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1517, allocations: 0 / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001736/0.1519, allocations: 89.5 kB / 432.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1519, allocations: 4 kB / 432.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1519, allocations: 4 kB / 432.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1519, allocations: 0 / 432.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.152, allocations: 23.92 kB / 432.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.152, allocations: 0 / 432.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1521, allocations: 8.125 kB / 432.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1521, allocations: 8 kB / 432.1 MB, free: 15.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.1522, allocations: 121.8 kB / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.1523, allocations: 73.53 kB / 432.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.1524, allocations: 15.81 kB / 432.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1524, allocations: 0 / 432.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1524, allocations: 0 / 432.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1524, allocations: 4 kB / 432.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.1526, allocations: 181.7 kB / 432.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1526, allocations: 4 kB / 432.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.1527, allocations: 19.92 kB / 432.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1527, allocations: 3.938 kB / 432.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1527, allocations: 4 kB / 432.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1527, allocations: 0 / 432.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1527, allocations: 0 / 432.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.153, allocations: 198.1 kB / 432.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.153, allocations: 93.11 kB / 432.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1531, allocations: 11.98 kB / 432.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.1531, allocations: 4 kB / 432.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.1532, allocations: 3.938 kB / 432.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1532, allocations: 4 kB / 432.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1533, allocations: 123.9 kB / 433 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1533, allocations: 4 kB / 433 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1535, allocations: 8 kB / 433 MB, free: 14.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001598/0.1537, allocations: 95.25 kB / 433.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1539, allocations: 43.91 kB / 433.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1539, allocations: 0 / 433.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.154, allocations: 4.375 kB / 433.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.1544, allocations: 58.69 kB / 433.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.1549, allocations: 213.5 kB / 433.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.1553, allocations: 0.6965 MB / 434.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.197e-05/0.1554, allocations: 8.672 kB / 434.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.1554, allocations: 15.42 kB / 434.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1554, allocations: 0 / 434.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003805/0.1592, allocations: 0.8514 MB / 435 MB, free: 12.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.190336029976606]