Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001669/0.001669, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001959/0.001959, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.471/1.471, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 59.91 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.118, allocations: 53.33 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003647/0.1217, allocations: 1.936 MB / 428.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.124, allocations: 1.242 MB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.1241, allocations: 7.938 kB / 429.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.1248, allocations: 155.5 kB / 430 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.1252, allocations: 159.4 kB / 430.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.1257, allocations: 170.7 kB / 430.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.1259, allocations: 195.4 kB / 430.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1261, allocations: 29.67 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1262, allocations: 83.62 kB / 430.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1263, allocations: 87.55 kB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1263, allocations: 12 kB / 430.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.1265, allocations: 59.95 kB / 430.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.1265, allocations: 43.84 kB / 430.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.1266, allocations: 71.48 kB / 430.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.127, allocations: 230.9 kB / 431.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.127, allocations: 0 / 431.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.127, allocations: 4 kB / 431.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.127, allocations: 0 / 431.1 MB, free: 0.5234 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008652/0.1278, allocations: 0.531 MB / 431.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1279, allocations: 8.031 kB / 431.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.465e-05/0.1279, allocations: 42.73 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.128, allocations: 24.73 kB / 431.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.1284, allocations: 275 kB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1284, allocations: 16.3 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1284, allocations: 12.3 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.1288, allocations: 181.3 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1288, allocations: 0 / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1288, allocations: 0 / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1288, allocations: 4 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1289, allocations: 39.92 kB / 432.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.1295, allocations: 371.3 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.1298, allocations: 134.5 kB / 432.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1299, allocations: 55.42 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1299, allocations: 4 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.1301, allocations: 75.33 kB / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.1301, allocations: 0 / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004194/0.1305, allocations: 161.4 kB / 433 MB, free: 14.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.1306, allocations: 166.5 kB / 433.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.1309, allocations: 278.6 kB / 433.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.131, allocations: 33.7 kB / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1311, allocations: 124.4 kB / 433.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.1311, allocations: 19.84 kB / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.1312, allocations: 33.7 kB / 433.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1313, allocations: 334.8 kB / 434 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.411e-05/0.1314, allocations: 24 kB / 434 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1315, allocations: 83.7 kB / 434.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.1317, allocations: 97.91 kB / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1317, allocations: 0 / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00024/0.1319, allocations: 125.4 kB / 434.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1319, allocations: 14.22 kB / 434.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1319, allocations: 0 / 434.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.132, allocations: 4 kB / 434.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.727e-05/0.132, allocations: 15.94 kB / 434.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.1321, allocations: 3.984 kB / 434.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.1321, allocations: 8 kB / 434.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1321, allocations: 11.98 kB / 434.4 MB, free: 12.89 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,sample1.u,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.0001524/0.1323, allocations: 145.7 kB / 434.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.1324, allocations: 85.48 kB / 434.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.1325, allocations: 29.95 kB / 434.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1325, allocations: 0 / 434.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1325, allocations: 4 kB / 434.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1325, allocations: 4 kB / 434.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.1327, allocations: 241.4 kB / 434.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1327, allocations: 0 / 434.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.1328, allocations: 4 kB / 434.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1328, allocations: 7.938 kB / 434.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.1328, allocations: 8.078 kB / 434.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1328, allocations: 4 kB / 434.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1328, allocations: 0 / 434.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1331, allocations: 167.5 kB / 435.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.1332, allocations: 112.9 kB / 435.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.1332, allocations: 8 kB / 435.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.1333, allocations: 7.984 kB / 435.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.1333, allocations: 7.984 kB / 435.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1333, allocations: 8 kB / 435.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.1336, allocations: 209.9 kB / 435.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1336, allocations: 0 / 435.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1338, allocations: 39.86 kB / 435.4 MB, free: 11.7 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,sample1.u,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.002011/0.1358, allocations: 1.013 MB / 436.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1361, allocations: 83.84 kB / 436.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1361, allocations: 0 / 436.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.1362, allocations: 19.98 kB / 436.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1366, allocations: 74.03 kB / 436.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.1391, allocations: 2.063 MB / 438.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.1395, allocations: 0.7319 MB / 439.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.676e-05/0.1396, allocations: 25.78 kB / 439.5 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.1397, allocations: 55.42 kB / 439.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1397, allocations: 0 / 439.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.1712, allocations: 5.028 MB / 444.5 MB, free: 2.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.16, allocations: 23.09 kB / 444.6 MB, free: 2.633 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.93468873994425]