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.001247/0.001247, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00141/0.00141, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 7.77 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.001472/0.001472, allocations: 47.94 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2722, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003762/0.276, allocations: 1.882 MB / 433 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.2783, allocations: 1.157 MB / 434.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2785, allocations: 4 kB / 434.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007183/0.2792, allocations: 155.5 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.2796, allocations: 167.4 kB / 434.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.2802, allocations: 182.3 kB / 434.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.2805, allocations: 187.5 kB / 434.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2806, allocations: 25.53 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.2807, allocations: 83.62 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.2808, allocations: 83.61 kB / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.2808, allocations: 8 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.281, allocations: 63.95 kB / 435.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.281, allocations: 47.78 kB / 435.1 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.065e-05/0.2811, allocations: 51.61 kB / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.2814, allocations: 209 kB / 435.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2814, allocations: 0 / 435.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2815, allocations: 0 / 435.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2815, allocations: 0 / 435.4 MB, free: 2.355 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.0008155/0.2823, allocations: 458.7 kB / 435.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2823, allocations: 8.031 kB / 435.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.2824, allocations: 38.75 kB / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.2824, allocations: 20.8 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.2828, allocations: 217.1 kB / 436.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2828, allocations: 384 / 436.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.2828, allocations: 7.938 kB / 436.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.2831, allocations: 141.9 kB / 436.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2831, allocations: 3.938 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2832, allocations: 4 kB / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2832, allocations: 4 kB / 436.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2833, allocations: 35.95 kB / 436.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.2838, allocations: 329.4 kB / 436.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.284, allocations: 103.9 kB / 436.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.2841, allocations: 50.56 kB / 436.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2841, allocations: 4 kB / 436.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.2843, allocations: 75.31 kB / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.2843, allocations: 0 / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003746/0.2847, allocations: 149.5 kB / 437 MB, free: 0.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.2847, allocations: 106.8 kB / 437.1 MB, free: 424 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.285, allocations: 273 kB / 437.3 MB, free: 144 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.285, allocations: 33.94 kB / 437.4 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.2851, allocations: 120.3 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.2852, allocations: 19.81 kB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.2852, allocations: 37.59 kB / 437.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2854, allocations: 330.8 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/0.2854, allocations: 23.98 kB / 437.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.2855, allocations: 86.84 kB / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.2857, allocations: 80.25 kB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2857, allocations: 3.938 kB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002117/0.2859, allocations: 121.5 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2859, allocations: 4 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2859, allocations: 4 kB / 438.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2859, allocations: 0 / 438.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.286, allocations: 15.98 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.286, allocations: 0 / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.2861, allocations: 15.95 kB / 438.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.2861, allocations: 8 kB / 438.2 MB, free: 15.18 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.0001377/0.2863, allocations: 146.1 kB / 438.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.341e-05/0.2863, allocations: 61.59 kB / 438.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.2866, allocations: 119.3 kB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2866, allocations: 0 / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2866, allocations: 4 kB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2866, allocations: 7.938 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.2868, allocations: 188.6 kB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2868, allocations: 4.062 kB / 438.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.2868, allocations: 4 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.2868, allocations: 7.984 kB / 438.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2869, allocations: 4 kB / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2869, allocations: 0 / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2869, allocations: 7.938 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.2871, allocations: 162.6 kB / 438.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.2872, allocations: 35.77 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.2872, allocations: 11.98 kB / 439 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.366e-05/0.2873, allocations: 0 / 439 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.2873, allocations: 19.86 kB / 439 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.2873, allocations: 8 kB / 439 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.2875, allocations: 204.5 kB / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2875, allocations: 0 / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.2878, allocations: 20 kB / 439.2 MB, free: 14.1 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.002069/0.2899, allocations: 1.038 MB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.2901, allocations: 68.03 kB / 440.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2901, allocations: 0 / 440.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.748e-05/0.2902, allocations: 35.91 kB / 440.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.2906, allocations: 70.28 kB / 440.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.2928, allocations: 1.963 MB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2929, allocations: 127.5 kB / 442.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.178e-05/0.293, allocations: 21.62 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.13e-05/0.2931, allocations: 51.42 kB / 442.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2931, allocations: 0 / 442.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.3245, allocations: 5.384 MB / 448 MB, free: 5.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.07, allocations: 7.234 kB / 448 MB, free: 5.438 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.67226473800838]