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.001301/0.001301, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001338/0.001338, allocations: 190.5 kB / 23.72 MB, free: 4.684 MB / 14.72 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 1.5/1.5, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00156/0.00156, allocations: 47.91 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3014, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003776/0.3052, allocations: 1.911 MB / 424.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3073, allocations: 1.087 MB / 425.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.3074, allocations: 7.938 kB / 425.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007356/0.3081, allocations: 163.5 kB / 425.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.3085, allocations: 111.6 kB / 425.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.3091, allocations: 210.3 kB / 426.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.3094, allocations: 183.5 kB / 426.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3095, allocations: 13.75 kB / 426.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.3096, allocations: 87.56 kB / 426.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3098, allocations: 79.67 kB / 426.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.3098, allocations: 8 kB / 426.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3099, allocations: 59.97 kB / 426.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.31, allocations: 47.77 kB / 426.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.289e-05/0.3101, allocations: 67.55 kB / 426.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.3104, allocations: 199.5 kB / 426.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3105, allocations: 4 kB / 426.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3105, allocations: 0 / 426.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3105, allocations: 4 kB / 426.8 MB, free: 10.38 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.0008371/0.3113, allocations: 450.7 kB / 427.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3113, allocations: 8.031 kB / 427.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.3114, allocations: 42.73 kB / 427.3 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.3115, allocations: 24.78 kB / 427.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.3118, allocations: 201.2 kB / 427.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3118, allocations: 8.375 kB / 427.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.3118, allocations: 7.938 kB / 427.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.3122, allocations: 150.7 kB / 427.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3122, allocations: 4 kB / 427.7 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3122, allocations: 4 kB / 427.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.3122, allocations: 4 kB / 427.7 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.3123, allocations: 27.98 kB / 427.8 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.3128, allocations: 337.5 kB / 428.1 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.3131, allocations: 107.9 kB / 428.2 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.574e-05/0.3132, allocations: 42.56 kB / 428.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3132, allocations: 0 / 428.2 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.3134, allocations: 79.27 kB / 428.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.3134, allocations: 4 kB / 428.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003642/0.3137, allocations: 141.5 kB / 428.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.3138, allocations: 128.5 kB / 428.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.3141, allocations: 272.8 kB / 428.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3141, allocations: 25.7 kB / 428.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.3142, allocations: 124 kB / 429 MB, free: 7.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3143, allocations: 16.09 kB / 429 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.3143, allocations: 37.7 kB / 429 MB, free: 7.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3145, allocations: 326.8 kB / 429.4 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.3145, allocations: 19.98 kB / 429.4 MB, free: 7.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3146, allocations: 66 kB / 429.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3148, allocations: 80.25 kB / 429.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3148, allocations: 3.938 kB / 429.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002144/0.315, allocations: 113.5 kB / 429.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.315, allocations: 10.62 kB / 429.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.315, allocations: 0 / 429.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.315, allocations: 4 kB / 429.7 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.3151, allocations: 15.98 kB / 429.7 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3151, allocations: 4 kB / 429.7 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.665e-05/0.3152, allocations: 11.89 kB / 429.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3152, allocations: 4.312 kB / 429.7 MB, free: 7.23 MB / 334.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.0001441/0.3154, allocations: 145.8 kB / 429.8 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.96e-05/0.3154, allocations: 69.53 kB / 429.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.3157, allocations: 107.3 kB / 430 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3157, allocations: 4 kB / 430 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3157, allocations: 0 / 430 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.3157, allocations: 3.938 kB / 430 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3159, allocations: 196.7 kB / 430.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3159, allocations: 4 kB / 430.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/0.3159, allocations: 4 kB / 430.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3159, allocations: 0 / 430.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.316, allocations: 7.984 kB / 430.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.316, allocations: 11.98 kB / 430.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.316, allocations: 0 / 430.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.3162, allocations: 158.5 kB / 430.4 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.3163, allocations: 31.84 kB / 430.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.3163, allocations: 4 kB / 430.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.3164, allocations: 7.984 kB / 430.4 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.3164, allocations: 15.92 kB / 430.4 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.3164, allocations: 7.984 kB / 430.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.3166, allocations: 192.5 kB / 430.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3166, allocations: 0 / 430.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3169, allocations: 31.92 kB / 430.7 MB, free: 6.156 MB / 334.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 (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.002023/0.3189, allocations: 0.9921 MB / 431.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3192, allocations: 71.86 kB / 431.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3192, allocations: 0 / 431.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.3192, allocations: 24.23 kB / 431.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.3197, allocations: 68.23 kB / 431.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.3224, allocations: 1.924 MB / 433.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.3229, allocations: 0.7318 MB / 434.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.323, allocations: 21.48 kB / 434.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3231, allocations: 47.42 kB / 434.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3231, allocations: 0 / 434.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.3576, allocations: 4.73 MB / 439.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.33, allocations: 11.78 kB / 439.3 MB, free: 13.61 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/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: 14.004173675999482]