Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 51.94 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1188, allocations: 53.34 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003788/0.1225, allocations: 1.897 MB / 428.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1249, allocations: 1.247 MB / 429.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.1251, allocations: 3.938 kB / 429.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.1258, allocations: 139.6 kB / 429.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.1262, allocations: 167.4 kB / 429.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.1268, allocations: 174.3 kB / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.1271, allocations: 183.5 kB / 430.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1272, allocations: 25.55 kB / 430.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.1273, allocations: 83.56 kB / 430.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1274, allocations: 75.69 kB / 430.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1274, allocations: 12 kB / 430.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.1276, allocations: 63.89 kB / 430.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.1277, allocations: 39.84 kB / 430.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.1278, allocations: 75.48 kB / 430.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.1281, allocations: 203.1 kB / 430.7 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1281, allocations: 0 / 430.7 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1281, allocations: 0 / 430.7 MB, free: 424 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1281, allocations: 0 / 430.7 MB, free: 424 kB / 350.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.248/0.3761, allocations: 0.5246 MB / 431.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3762, allocations: 9.531 kB / 431.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.3762, allocations: 42.06 kB / 431.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.3763, allocations: 22.08 kB / 431.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.3767, allocations: 266.6 kB / 431.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3767, allocations: 9.5 kB / 431.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3767, allocations: 7.078 kB / 431.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.3772, allocations: 148.6 kB / 431.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3772, allocations: 3.938 kB / 431.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.3772, allocations: 6.391 kB / 431.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3772, allocations: 1.844 kB / 431.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3773, allocations: 34.23 kB / 431.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.3779, allocations: 362.7 kB / 432.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.3781, allocations: 109.2 kB / 432.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.963e-05/0.3782, allocations: 37.88 kB / 432.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.3783, allocations: 7.453 kB / 432.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.3784, allocations: 74.34 kB / 432.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.3784, allocations: 0 / 432.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004197/0.3789, allocations: 144.8 kB / 432.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.3789, allocations: 133.4 kB / 432.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.3793, allocations: 273.1 kB / 432.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3793, allocations: 36.77 kB / 432.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.3794, allocations: 122.6 kB / 433 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.3794, allocations: 15.11 kB / 433 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.3795, allocations: 35.3 kB / 433.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.3796, allocations: 331.5 kB / 433.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.865e-05/0.3796, allocations: 19.88 kB / 433.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.3797, allocations: 69.39 kB / 433.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.3798, allocations: 79.31 kB / 433.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3798, allocations: 1.469 kB / 433.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002534/0.3801, allocations: 117.1 kB / 433.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.3801, allocations: 4.656 kB / 433.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3801, allocations: 1.25 kB / 433.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3802, allocations: 6.906 kB / 433.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.3803, allocations: 14.72 kB / 433.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3803, allocations: 3 kB / 433.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.13e-05/0.3803, allocations: 8.953 kB / 433.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.3804, allocations: 2.594 kB / 433.7 MB, free: 9.625 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,table.y,superSample1.y,superSample1.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.0001203/0.3805, allocations: 151.2 kB / 433.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.3806, allocations: 63.34 kB / 433.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.3806, allocations: 29.67 kB / 433.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3806, allocations: 3.984 kB / 433.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3806, allocations: 0 / 433.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3806, allocations: 2.203 kB / 433.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.3808, allocations: 232 kB / 434.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3808, allocations: 1.031 kB / 434.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.3808, allocations: 9.062 kB / 434.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3808, allocations: 2.562 kB / 434.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3808, allocations: 5.141 kB / 434.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3809, allocations: 1.031 kB / 434.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3809, allocations: 5.688 kB / 434.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3811, allocations: 158.9 kB / 434.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.3812, allocations: 109.9 kB / 434.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.3812, allocations: 1.625 kB / 434.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.3813, allocations: 10.17 kB / 434.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3813, allocations: 12.09 kB / 434.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3814, allocations: 2.75 kB / 434.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.3815, allocations: 205.4 kB / 434.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3815, allocations: 0 / 434.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3818, allocations: 29.72 kB / 434.7 MB, free: 8.969 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.001838/0.3836, allocations: 1.01 MB / 435.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.3839, allocations: 61.36 kB / 435.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3839, allocations: 1.125 kB / 435.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.384, allocations: 22.67 kB / 435.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.3844, allocations: 77.8 kB / 435.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.3866, allocations: 1.945 MB / 437.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.3868, allocations: 0.7317 MB / 438.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.387, allocations: 24.69 kB / 438.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.387, allocations: 54.77 kB / 438.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.387, allocations: 0 / 438.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.4166, allocations: 4.653 MB / 443.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/8.789, allocations: 7.453 kB / 443.3 MB, free: 5.438 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.389266608006437]