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.001884/0.001884, allocations: 114 kB / 20.43 MB, free: 1.457 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.002402/0.002402, allocations: 214 kB / 23.74 MB, free: 4.672 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.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.001831/0.001831, allocations: 59.91 kB / 377.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2474, allocations: 53.42 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003567/0.2509, allocations: 1.952 MB / 433.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.2531, allocations: 1.262 MB / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.2533, allocations: 7.938 kB / 434.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.2539, allocations: 155.5 kB / 434.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.2544, allocations: 163.3 kB / 434.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.2549, allocations: 183 kB / 434.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.2552, allocations: 203.4 kB / 435.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2554, allocations: 21.8 kB / 435.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2555, allocations: 91.56 kB / 435.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.2556, allocations: 79.67 kB / 435.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.2557, allocations: 8 kB / 435.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.2558, allocations: 71.88 kB / 435.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.2559, allocations: 51.72 kB / 435.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.256, allocations: 75.48 kB / 435.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.2563, allocations: 219.5 kB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2564, allocations: 0 / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2564, allocations: 4 kB / 435.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.2564, allocations: 0 / 435.7 MB, free: 2.176 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.2573, allocations: 462.6 kB / 436.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.2573, allocations: 12.02 kB / 436.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.2574, allocations: 38.75 kB / 436.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.2574, allocations: 24.73 kB / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.2578, allocations: 229.1 kB / 436.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2578, allocations: 8.25 kB / 436.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2579, allocations: 12.38 kB / 436.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.2582, allocations: 167.7 kB / 436.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2582, allocations: 4 kB / 436.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.2583, allocations: 4 kB / 436.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.2583, allocations: 4 kB / 436.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.2584, allocations: 35.92 kB / 436.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005755/0.259, allocations: 346.3 kB / 437 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.2592, allocations: 126.5 kB / 437.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.2593, allocations: 55.42 kB / 437.2 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.2594, allocations: 4.078 kB / 437.2 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.2595, allocations: 83.3 kB / 437.3 MB, free: 396 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.2596, allocations: 0 / 437.3 MB, free: 396 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004074/0.26, allocations: 161.4 kB / 437.4 MB, free: 228 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.2601, allocations: 158.2 kB / 437.6 MB, free: 32 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.2605, allocations: 282 kB / 437.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.2605, allocations: 25.7 kB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.2606, allocations: 128.4 kB / 438 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.2607, allocations: 20.14 kB / 438 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.2607, allocations: 41.7 kB / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2609, allocations: 334.8 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.261, allocations: 19.98 kB / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.2611, allocations: 79.66 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.2612, allocations: 93.97 kB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2612, allocations: 4 kB / 438.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002299/0.2615, allocations: 137.3 kB / 438.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2615, allocations: 8 kB / 438.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2615, allocations: 0 / 438.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2615, allocations: 7.984 kB / 438.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.2616, allocations: 11.98 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2616, allocations: 7.938 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.2617, allocations: 4 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2617, allocations: 8.5 kB / 438.8 MB, free: 14.75 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.0001498/0.2618, allocations: 162.3 kB / 438.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.262, allocations: 77.48 kB / 439 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.2622, allocations: 107.4 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.2622, allocations: 4 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2622, allocations: 3.938 kB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.2622, allocations: 3.984 kB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.2624, allocations: 208.6 kB / 439.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.2624, allocations: 7.984 kB / 439.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.2625, allocations: 8 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2625, allocations: 0 / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2625, allocations: 4 kB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2625, allocations: 0 / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2625, allocations: 3.984 kB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.2628, allocations: 187.3 kB / 439.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.2628, allocations: 23.89 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.2629, allocations: 8 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.2629, allocations: 7.984 kB / 439.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.263, allocations: 4 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.263, allocations: 7.984 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.2632, allocations: 205.2 kB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2632, allocations: 4 kB / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.2635, allocations: 35.88 kB / 439.8 MB, free: 13.6 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 (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.001989/0.2655, allocations: 1.014 MB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.2657, allocations: 79.78 kB / 440.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2657, allocations: 0 / 440.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.777e-05/0.2658, allocations: 23.98 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.2662, allocations: 79.22 kB / 441 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.2687, allocations: 2.061 MB / 443.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.2691, allocations: 0.7398 MB / 443.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.729e-05/0.2692, allocations: 21.62 kB / 443.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.2693, allocations: 55.42 kB / 443.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2693, allocations: 4 kB / 443.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.3015, allocations: 5.178 MB / 449.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.05, allocations: 6.281 kB / 449.1 MB, free: 4.355 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.672859097998298]