Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001637/0.001637, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001778/0.001778, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.61/1.61, allocations: 230.2 MB / 254.5 MB, free: 15.39 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 67.89 kB / 373.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1218, allocations: 53.32 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004162/0.126, allocations: 1.926 MB / 428.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1281, allocations: 1.328 MB / 429.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1283, allocations: 7.938 kB / 429.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1286, allocations: 63.67 kB / 430 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1289, allocations: 143.4 kB / 430.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.1295, allocations: 238 kB / 430.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.1298, allocations: 191.4 kB / 430.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1299, allocations: 21.69 kB / 430.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.13, allocations: 87.61 kB / 430.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1302, allocations: 87.61 kB / 430.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.1302, allocations: 12 kB / 430.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1303, allocations: 71.95 kB / 430.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.1304, allocations: 55.77 kB / 430.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.1305, allocations: 83.36 kB / 431 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.1309, allocations: 254.9 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1309, allocations: 0 / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1309, allocations: 0 / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1309, allocations: 0 / 431.2 MB, free: 432 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008092/0.1317, allocations: 0.562 MB / 431.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1317, allocations: 12.03 kB / 431.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.1318, allocations: 38.75 kB / 431.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.1318, allocations: 28.78 kB / 431.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.1323, allocations: 299.7 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1323, allocations: 12.31 kB / 432.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1323, allocations: 4.375 kB / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.1327, allocations: 184.5 kB / 432.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1327, allocations: 0 / 432.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1327, allocations: 4 kB / 432.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1327, allocations: 0 / 432.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.1328, allocations: 47.89 kB / 432.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.1334, allocations: 399.2 kB / 432.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.1337, allocations: 142.5 kB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1338, allocations: 55.42 kB / 433 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1338, allocations: 0 / 433 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.134, allocations: 87.31 kB / 433.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.134, allocations: 0 / 433.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004089/0.1344, allocations: 169.4 kB / 433.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.1345, allocations: 184.3 kB / 433.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.1349, allocations: 350.9 kB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1349, allocations: 29.7 kB / 433.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.135, allocations: 124.4 kB / 433.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.1351, allocations: 23.83 kB / 433.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.1351, allocations: 37.66 kB / 433.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1353, allocations: 342.8 kB / 434.3 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.1354, allocations: 27.92 kB / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1355, allocations: 100.6 kB / 434.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.1357, allocations: 110.2 kB / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1357, allocations: 0 / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000256/0.1359, allocations: 149.3 kB / 434.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.136, allocations: 8.188 kB / 434.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.136, allocations: 4 kB / 434.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.136, allocations: 0 / 434.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1361, allocations: 23.98 kB / 434.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1361, allocations: 3.938 kB / 434.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.1362, allocations: 11.92 kB / 434.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.1362, allocations: 8 kB / 434.7 MB, free: 12.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001605/0.1364, allocations: 153.8 kB / 434.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.1365, allocations: 89.44 kB / 435 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.1365, allocations: 25.73 kB / 435 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1365, allocations: 4 kB / 435 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1365, allocations: 0 / 435 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1365, allocations: 4 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.1368, allocations: 253.5 kB / 435.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.1368, allocations: 4.047 kB / 435.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.1369, allocations: 23.91 kB / 435.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1369, allocations: 0 / 435.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1369, allocations: 4 kB / 435.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1369, allocations: 4.094 kB / 435.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1369, allocations: 0 / 435.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.1372, allocations: 191.3 kB / 435.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.1373, allocations: 116.9 kB / 435.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1373, allocations: 11.98 kB / 435.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.1374, allocations: 4 kB / 435.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.1374, allocations: 11.98 kB / 435.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1375, allocations: 12.06 kB / 435.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002747/0.1377, allocations: 249.9 kB / 435.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1377, allocations: 0 / 435.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.138, allocations: 39.88 kB / 435.9 MB, free: 11.21 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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00199/0.14, allocations: 1.033 MB / 436.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1402, allocations: 76.16 kB / 437 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1402, allocations: 0 / 437 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.1403, allocations: 31.92 kB / 437 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1407, allocations: 77.06 kB / 437.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.1434, allocations: 2.33 MB / 439.4 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1438, allocations: 0.7476 MB / 440.2 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.999e-05/0.1439, allocations: 25.53 kB / 440.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/0.144, allocations: 71.34 kB / 440.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.144, allocations: 0 / 440.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.1724, allocations: 5.683 MB / 446 MB, free: 1.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/7.904, allocations: 17.42 kB / 446 MB, free: 1.18 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79104e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 10.724469929933548]