Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.0008651/0.0008651, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001291/0.001291, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.897/0.897, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.6e-05, allocations: 4.953 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002474/0.0025, allocations: 1.884 MB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.003935, allocations: 1.168 MB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.004076, allocations: 3.938 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.00463, allocations: 159.4 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.004963, allocations: 158.7 kB / 327.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.005482, allocations: 187.2 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.005712, allocations: 195.4 kB / 328.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.005816, allocations: 25.78 kB / 328.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.005933, allocations: 91.8 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.006039, allocations: 59.81 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.006059, allocations: 11.94 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.006181, allocations: 67.88 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.006241, allocations: 47.78 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.006291, allocations: 35.86 kB / 328.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.006572, allocations: 211.3 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.006578, allocations: 0 / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.006579, allocations: 4 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.006585, allocations: 0 / 328.8 MB, free: 11.59 MB / 298.7 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.0006154/0.0072, allocations: 450.7 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.00724, allocations: 15.98 kB / 329.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.896e-05/0.007269, allocations: 34.75 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.007315, allocations: 24.8 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.007563, allocations: 208.8 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.007578, allocations: 8.375 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.007591, allocations: 8.375 kB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.007844, allocations: 142.4 kB / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.007852, allocations: 192 / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.007865, allocations: 12.11 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.00787, allocations: 0 / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.007946, allocations: 35.98 kB / 329.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.008321, allocations: 317.5 kB / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.008473, allocations: 115.8 kB / 330.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.00852, allocations: 42.56 kB / 330.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.00854, allocations: 4 kB / 330.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.008658, allocations: 79.31 kB / 330.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.008659, allocations: 0 / 330.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002524/0.008911, allocations: 145.5 kB / 330.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.008964, allocations: 111.1 kB / 330.5 MB, free: 9.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.009159, allocations: 277.9 kB / 330.8 MB, free: 9.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.009172, allocations: 29.64 kB / 330.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.00923, allocations: 120.1 kB / 330.9 MB, free: 9.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.00925, allocations: 19.84 kB / 330.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.009285, allocations: 29.66 kB / 331 MB, free: 9.164 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.00937, allocations: 326.8 kB / 331.3 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.009407, allocations: 19.98 kB / 331.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.256e-05/0.009459, allocations: 68.27 kB / 331.4 MB, free: 8.734 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.978e-05/0.009529, allocations: 61.67 kB / 331.4 MB, free: 8.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.009532, allocations: 0 / 331.4 MB, free: 8.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001055/0.009637, allocations: 93.53 kB / 331.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.00965, allocations: 4 kB / 331.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.009655, allocations: 4 kB / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.009668, allocations: 0 / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.009727, allocations: 11.98 kB / 331.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.009733, allocations: 160 / 331.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.00977, allocations: 8.312 kB / 331.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.009776, allocations: 7.984 kB / 331.6 MB, free: 8.535 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.273e-05/0.009869, allocations: 157.7 kB / 331.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.009923, allocations: 61.55 kB / 331.8 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.01007, allocations: 115.4 kB / 331.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01008, allocations: 0 / 331.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01008, allocations: 4 kB / 331.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01008, allocations: 0 / 331.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.01021, allocations: 196.6 kB / 332.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01021, allocations: 0 / 332.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.01023, allocations: 8 kB / 332.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01023, allocations: 8.062 kB / 332.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.01024, allocations: 0 / 332.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01024, allocations: 4 kB / 332.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01024, allocations: 0 / 332.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.01038, allocations: 166.5 kB / 332.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.01043, allocations: 27.84 kB / 332.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.01045, allocations: 8 kB / 332.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.01048, allocations: 11.97 kB / 332.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.01051, allocations: 3.938 kB / 332.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.01053, allocations: 7.984 kB / 332.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001247/0.01065, allocations: 209.3 kB / 332.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01065, allocations: 3.938 kB / 332.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.01083, allocations: 27.94 kB / 332.6 MB, free: 7.453 MB / 298.7 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.0009531/0.01178, allocations: 1.034 MB / 333.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.01192, allocations: 59.91 kB / 333.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01192, allocations: 4 kB / 333.7 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.01196, allocations: 28.05 kB / 333.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.01222, allocations: 57.25 kB / 333.7 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.01371, allocations: 1.906 MB / 335.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.186e-05/0.0138, allocations: 131.5 kB / 335.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.01387, allocations: 25.62 kB / 335.8 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.01393, allocations: 48.48 kB / 335.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01393, allocations: 0 / 335.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.03444, allocations: 5.463 MB / 341.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/6.909, allocations: 3.609 kB / 341.3 MB, free: 14.73 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.95804e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.72061062976718]