Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008807/0.0008807, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8652/0.8652, allocations: 173.4 MB / 200.5 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 318.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.642e-05, allocations: 5.656 kB / 318.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003124/0.00314, allocations: 1.848 MB / 320.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.004798, allocations: 1.024 MB / 321.3 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.004931, allocations: 7.875 kB / 321.3 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.005411, allocations: 147.5 kB / 321.5 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.005614, allocations: 130.3 kB / 321.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.005966, allocations: 225.9 kB / 321.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.006147, allocations: 183.4 kB / 322 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.006237, allocations: 25.78 kB / 322 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.006338, allocations: 95.73 kB / 322.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.006421, allocations: 63.8 kB / 322.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.006441, allocations: 8 kB / 322.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.006542, allocations: 63.83 kB / 322.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.006594, allocations: 39.84 kB / 322.3 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.006643, allocations: 43.84 kB / 322.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.006865, allocations: 199.4 kB / 322.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006867, allocations: 0 / 322.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006868, allocations: 4 kB / 322.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.006872, allocations: 0 / 322.5 MB, free: 2.121 MB / 282.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.0004968/0.007369, allocations: 450.7 kB / 323 MB, free: 1.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.007402, allocations: 8.922 kB / 323 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.007428, allocations: 34.75 kB / 323 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.007466, allocations: 20.84 kB / 323 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.007704, allocations: 204.9 kB / 323.2 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.007715, allocations: 8.312 kB / 323.2 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.007727, allocations: 12.38 kB / 323.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.007951, allocations: 138.2 kB / 323.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.00796, allocations: 0 / 323.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.007969, allocations: 4 kB / 323.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.007974, allocations: 0 / 323.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.702e-05/0.008041, allocations: 39.91 kB / 323.4 MB, free: 1.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.008379, allocations: 321.4 kB / 323.7 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.008517, allocations: 111.9 kB / 323.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.008566, allocations: 42.56 kB / 323.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.008582, allocations: 0 / 323.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.008696, allocations: 79.33 kB / 324 MB, free: 496 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.008697, allocations: 0 / 324 MB, free: 496 kB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.000239/0.008936, allocations: 141.5 kB / 324.1 MB, free: 348 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.008985, allocations: 111.1 kB / 324.2 MB, free: 212 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.009178, allocations: 269.7 kB / 324.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.009191, allocations: 25.7 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.00925, allocations: 116.1 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.009266, allocations: 11.91 kB / 324.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.009302, allocations: 29.7 kB / 324.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.009386, allocations: 330.8 kB / 325 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.00942, allocations: 23.92 kB / 325 MB, free: 15.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.009475, allocations: 76.27 kB / 325.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.467e-05/0.009539, allocations: 57.98 kB / 325.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.009541, allocations: 0 / 325.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001114/0.009653, allocations: 105.5 kB / 325.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.009664, allocations: 8 kB / 325.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.009669, allocations: 0 / 325.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.009678, allocations: 0 / 325.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.009728, allocations: 8 kB / 325.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.009733, allocations: 4 kB / 325.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.009765, allocations: 7.922 kB / 325.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.009771, allocations: 4 kB / 325.3 MB, free: 15.09 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 8.483e-05/0.009856, allocations: 147.6 kB / 325.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.009902, allocations: 57.55 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.01004, allocations: 119.5 kB / 325.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01005, allocations: 3.938 kB / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01005, allocations: 4 kB / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01005, allocations: 3.984 kB / 325.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.01018, allocations: 192.6 kB / 325.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.01018, allocations: 0 / 325.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.01019, allocations: 4 kB / 325.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.0102, allocations: 8.062 kB / 325.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.0102, allocations: 0 / 325.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.0102, allocations: 0 / 325.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01021, allocations: 4 kB / 325.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.01034, allocations: 158.6 kB / 325.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.01038, allocations: 35.83 kB / 326 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.0104, allocations: 8 kB / 326 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.951e-05/0.01043, allocations: 4.047 kB / 326 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.01046, allocations: 11.98 kB / 326 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.01047, allocations: 11.98 kB / 326 MB, free: 14.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.01063, allocations: 197.2 kB / 326.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01063, allocations: 0 / 326.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.01083, allocations: 31.92 kB / 326.2 MB, free: 14.02 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.0009413/0.01177, allocations: 1.036 MB / 327.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.01191, allocations: 63.91 kB / 327.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01191, allocations: 0 / 327.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.01195, allocations: 32.05 kB / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.0122, allocations: 60.5 kB / 327.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.01356, allocations: 1.883 MB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.021e-05/0.01364, allocations: 123.6 kB / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.969e-05/0.01369, allocations: 21.62 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.01375, allocations: 44.48 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01375, allocations: 0 / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.03122, allocations: 5.375 MB / 334.9 MB, free: 5.488 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/6.994, allocations: 9.672 kB / 334.9 MB, free: 5.48 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.763061966747046]