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.001327/0.001327, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001498/0.001498, allocations: 205.6 kB / 23.72 MB, free: 4.391 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.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.00215/0.00215, allocations: 67.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3283, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00409/0.3324, allocations: 1.914 MB / 433.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.335, allocations: 1.165 MB / 434.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.3352, allocations: 7.938 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007561/0.336, allocations: 151.4 kB / 434.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.3365, allocations: 167.4 kB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.337, allocations: 178.8 kB / 434.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.3373, allocations: 207.4 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3375, allocations: 25.59 kB / 434.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.3376, allocations: 79.64 kB / 435 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.3378, allocations: 87.59 kB / 435.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.3378, allocations: 8 kB / 435.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.338, allocations: 63.89 kB / 435.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.3381, allocations: 47.78 kB / 435.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.3382, allocations: 59.59 kB / 435.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.3386, allocations: 228.8 kB / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3386, allocations: 0 / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3386, allocations: 0 / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3386, allocations: 4 kB / 435.5 MB, free: 2.074 MB / 334.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.0009263/0.3395, allocations: 458.7 kB / 436 MB, free: 1.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3396, allocations: 11.98 kB / 436 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.3396, allocations: 38.75 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.3397, allocations: 32.8 kB / 436 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.3401, allocations: 217.1 kB / 436.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.3402, allocations: 8.375 kB / 436.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.3402, allocations: 8.375 kB / 436.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.3406, allocations: 174.1 kB / 436.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.3406, allocations: 7.922 kB / 436.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3406, allocations: 3.938 kB / 436.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3406, allocations: 4 kB / 436.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.3407, allocations: 35.98 kB / 436.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.3414, allocations: 338.3 kB / 436.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.3416, allocations: 130.5 kB / 436.9 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3417, allocations: 59.36 kB / 437 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3418, allocations: 0 / 437 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.342, allocations: 79.38 kB / 437.1 MB, free: 308 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.342, allocations: 0 / 437.1 MB, free: 308 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004244/0.3424, allocations: 169.5 kB / 437.2 MB, free: 132 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.3425, allocations: 136.5 kB / 437.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.3428, allocations: 277.9 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3429, allocations: 29.7 kB / 437.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.343, allocations: 128.3 kB / 437.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.343, allocations: 19.84 kB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.3431, allocations: 33.7 kB / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3432, allocations: 334.8 kB / 438.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.3433, allocations: 24 kB / 438.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3434, allocations: 104.8 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3436, allocations: 101.9 kB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3436, allocations: 4 kB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002524/0.3438, allocations: 129.5 kB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3439, allocations: 8 kB / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3439, allocations: 0 / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3439, allocations: 4.312 kB / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.344, allocations: 19.92 kB / 438.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.344, allocations: 4 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.344, allocations: 11.94 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3441, allocations: 4 kB / 438.6 MB, free: 14.66 MB / 350.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.0001537/0.3442, allocations: 150.3 kB / 438.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.3443, allocations: 77.58 kB / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3446, allocations: 123.3 kB / 438.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3446, allocations: 4 kB / 438.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3446, allocations: 0 / 438.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3446, allocations: 0 / 438.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.3448, allocations: 208.5 kB / 439.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3448, allocations: 0 / 439.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.3449, allocations: 7.984 kB / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3449, allocations: 4 kB / 439.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3449, allocations: 4.094 kB / 439.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3449, allocations: 4 kB / 439.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3449, allocations: 3.938 kB / 439.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.3452, allocations: 183.5 kB / 439.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.3453, allocations: 27.89 kB / 439.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3453, allocations: 7.984 kB / 439.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.3454, allocations: 4 kB / 439.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.3454, allocations: 7.984 kB / 439.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.3454, allocations: 4 kB / 439.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002453/0.3457, allocations: 209.2 kB / 439.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3457, allocations: 4 kB / 439.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.3459, allocations: 39.83 kB / 439.6 MB, free: 13.51 MB / 350.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.002198/0.3481, allocations: 1.054 MB / 440.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.3484, allocations: 79.84 kB / 440.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3484, allocations: 384 / 440.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.3485, allocations: 27.98 kB / 440.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.3489, allocations: 87.25 kB / 440.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.3516, allocations: 2.061 MB / 442.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.3517, allocations: 132 kB / 443.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.271e-05/0.3518, allocations: 25.62 kB / 443.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.3519, allocations: 55.42 kB / 443.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3519, allocations: 0 / 443.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.3886, allocations: 5.749 MB / 448.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 21.22 kB / 448.9 MB, free: 4.246 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79247e-05 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! Error: Could not read variable backSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv. Warning: Get data of variable backSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.21155413473025]