Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001732/0.001732, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002267/0.002267, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.89 kB / 377.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3433, allocations: 53.41 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003716/0.347, allocations: 1.886 MB / 433 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3492, allocations: 1.137 MB / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.3493, allocations: 7.938 kB / 434.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007284/0.35, allocations: 147.5 kB / 434.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.3504, allocations: 159.4 kB / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.351, allocations: 170.6 kB / 434.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.3513, allocations: 195.4 kB / 434.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3514, allocations: 21.73 kB / 434.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.3515, allocations: 79.69 kB / 434.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3517, allocations: 75.61 kB / 435 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.3517, allocations: 8 kB / 435 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3518, allocations: 59.91 kB / 435.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.625e-05/0.3519, allocations: 47.83 kB / 435.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.213e-05/0.352, allocations: 55.61 kB / 435.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.3524, allocations: 215.5 kB / 435.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3524, allocations: 4 kB / 435.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.3524, allocations: 4 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3524, allocations: 0 / 435.4 MB, free: 2.215 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008989/0.3533, allocations: 450.7 kB / 435.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.3533, allocations: 11.98 kB / 435.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.3534, allocations: 38.75 kB / 435.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.3534, allocations: 20.8 kB / 435.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.3538, allocations: 217.1 kB / 436.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3538, allocations: 4.375 kB / 436.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3539, allocations: 8.375 kB / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.3542, allocations: 142 kB / 436.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3542, allocations: 0 / 436.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3542, allocations: 7.984 kB / 436.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3542, allocations: 0 / 436.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.3544, allocations: 39.86 kB / 436.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.355, allocations: 329.5 kB / 436.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.3552, allocations: 107.9 kB / 436.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.3553, allocations: 46.5 kB / 436.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3553, allocations: 0 / 436.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.3555, allocations: 79.38 kB / 436.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.3555, allocations: 0 / 436.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004073/0.3559, allocations: 145.5 kB / 437 MB, free: 416 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.388e-05/0.356, allocations: 110.8 kB / 437.1 MB, free: 280 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.3564, allocations: 277.1 kB / 437.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3564, allocations: 25.7 kB / 437.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3565, allocations: 116.1 kB / 437.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.3565, allocations: 15.91 kB / 437.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.3566, allocations: 41.59 kB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3568, allocations: 330.8 kB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.3568, allocations: 19.98 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.357, allocations: 90.94 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.3571, allocations: 84.25 kB / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3571, allocations: 0 / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002083/0.3573, allocations: 121.8 kB / 438.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3573, allocations: 8 kB / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3573, allocations: 0 / 438.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3573, allocations: 8.109 kB / 438.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.3574, allocations: 19.94 kB / 438.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3574, allocations: 0 / 438.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.3575, allocations: 7.938 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3575, allocations: 11.98 kB / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001535/0.3577, allocations: 142.5 kB / 438.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.3578, allocations: 65.5 kB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.358, allocations: 115.4 kB / 438.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.358, allocations: 4.062 kB / 438.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.358, allocations: 4 kB / 438.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.358, allocations: 3.984 kB / 438.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.3583, allocations: 192.6 kB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3583, allocations: 0 / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/0.3583, allocations: 7.938 kB / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.3583, allocations: 4 kB / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3583, allocations: 0 / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3583, allocations: 0 / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3583, allocations: 7.984 kB / 438.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.3586, allocations: 166.5 kB / 439 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.3587, allocations: 35.78 kB / 439 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.3587, allocations: 7.984 kB / 439 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.3588, allocations: 7.938 kB / 439 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.3588, allocations: 7.984 kB / 439 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3588, allocations: 4 kB / 439 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.3591, allocations: 204.5 kB / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3591, allocations: 0 / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3593, allocations: 27.94 kB / 439.2 MB, free: 13.96 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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 (10): * Single equations (assignments): 8 * 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.002261/0.3616, allocations: 1.028 MB / 440.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3618, allocations: 67.91 kB / 440.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3618, allocations: 0 / 440.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.3619, allocations: 27.98 kB / 440.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.3623, allocations: 80.53 kB / 440.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.3648, allocations: 1.969 MB / 442.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.3649, allocations: 115.3 kB / 442.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.752e-05/0.365, allocations: 25.59 kB / 442.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3651, allocations: 59.42 kB / 442.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3651, allocations: 0 / 442.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.3985, allocations: 5.34 MB / 447.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.4, allocations: 15.47 kB / 448 MB, free: 5.277 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! Error: Could not read variable subSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable subSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.06047954596579]