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.001841/0.001841, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002203/0.002203, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.551/1.551, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.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 0.001942/0.001942, allocations: 63.91 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2939, allocations: 53.41 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003718/0.2976, allocations: 1.875 MB / 433 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.2997, allocations: 1.165 MB / 434.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.2998, allocations: 7.938 kB / 434.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.3004, allocations: 155.5 kB / 434.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.3008, allocations: 163.3 kB / 434.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.3012, allocations: 178.9 kB / 434.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.3015, allocations: 187.5 kB / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3016, allocations: 25.53 kB / 434.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.3017, allocations: 79.64 kB / 435 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3018, allocations: 71.67 kB / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.3019, allocations: 12 kB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.302, allocations: 71.88 kB / 435.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.3021, allocations: 39.84 kB / 435.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.3021, allocations: 51.61 kB / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.3024, allocations: 209 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3024, allocations: 4 kB / 435.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3024, allocations: 4 kB / 435.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3025, allocations: 0 / 435.4 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007254/0.3032, allocations: 446.7 kB / 435.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3032, allocations: 11.98 kB / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.3033, allocations: 42.73 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.3033, allocations: 20.8 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.3036, allocations: 213.1 kB / 436.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3037, allocations: 20.36 kB / 436.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.3037, allocations: 4.375 kB / 436.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.304, allocations: 142 kB / 436.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.304, allocations: 0 / 436.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.304, allocations: 0 / 436.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.304, allocations: 0 / 436.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3041, allocations: 43.91 kB / 436.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.3047, allocations: 321.5 kB / 436.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.3051, allocations: 111.9 kB / 436.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.3052, allocations: 42.56 kB / 436.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.3052, allocations: 3.938 kB / 436.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.3054, allocations: 75.39 kB / 436.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.3055, allocations: 0 / 436.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000532/0.306, allocations: 149.7 kB / 437 MB, free: 376 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/0.3061, allocations: 110.8 kB / 437.1 MB, free: 240 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.3065, allocations: 273.1 kB / 437.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3066, allocations: 33.64 kB / 437.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.3067, allocations: 120.1 kB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.3067, allocations: 15.89 kB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.3068, allocations: 37.66 kB / 437.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.307, allocations: 330.8 kB / 437.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.3071, allocations: 23.98 kB / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.3072, allocations: 90.78 kB / 438 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.3075, allocations: 80.25 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3075, allocations: 4 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003314/0.3078, allocations: 113.8 kB / 438.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3078, allocations: 8 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3078, allocations: 4 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3079, allocations: 4 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.308, allocations: 16.11 kB / 438.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.308, allocations: 7.938 kB / 438.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.3081, allocations: 15.89 kB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3081, allocations: 4 kB / 438.3 MB, free: 15 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.0001843/0.3083, allocations: 142.5 kB / 438.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.3084, allocations: 61.53 kB / 438.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.3088, allocations: 115.4 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3088, allocations: 4 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3088, allocations: 4.062 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3088, allocations: 0 / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.3091, allocations: 192.6 kB / 438.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.3091, allocations: 3.984 kB / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.3091, allocations: 11.94 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3091, allocations: 0 / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3091, allocations: 0 / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3091, allocations: 4 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3091, allocations: 80 / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.3095, allocations: 174.5 kB / 439 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3096, allocations: 35.78 kB / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.3097, allocations: 4 kB / 439 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.679e-05/0.3098, allocations: 11.98 kB / 439 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.3098, allocations: 4 kB / 439 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.3098, allocations: 4 kB / 439 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.3101, allocations: 204.5 kB / 439.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3101, allocations: 3.938 kB / 439.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004357/0.3106, allocations: 31.94 kB / 439.3 MB, free: 13.92 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.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.002631/0.3132, allocations: 1.028 MB / 440.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.3135, allocations: 67.84 kB / 440.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3135, allocations: 0 / 440.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3136, allocations: 27.98 kB / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.3141, allocations: 70.17 kB / 440.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.3173, allocations: 1.981 MB / 442.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.3174, allocations: 115.3 kB / 442.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.047e-05/0.3175, allocations: 25.62 kB / 442.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3176, allocations: 51.42 kB / 442.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3176, allocations: 4 kB / 442.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04223/0.3599, allocations: 5.351 MB / 448 MB, free: 5.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.34, allocations: 3.562 kB / 448 MB, free: 5.234 MB / 350.1 MB " [Timeout remaining time 648] (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/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_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: 14.074196223169565]