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.001372/0.001372, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001415/0.001415, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001501/0.001501, allocations: 43.92 kB / 377.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2688, allocations: 53.37 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003272/0.2721, allocations: 1.923 MB / 433.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.2741, allocations: 1.243 MB / 434.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2742, allocations: 7.938 kB / 434.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.2749, allocations: 159.5 kB / 434.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.2752, allocations: 163.4 kB / 434.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.2757, allocations: 167.5 kB / 434.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.276, allocations: 195.4 kB / 435 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.2761, allocations: 25.52 kB / 435 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.2762, allocations: 79.7 kB / 435.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.2763, allocations: 83.55 kB / 435.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.2763, allocations: 8 kB / 435.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.2765, allocations: 63.95 kB / 435.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.2765, allocations: 43.84 kB / 435.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.419e-05/0.2766, allocations: 67.55 kB / 435.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.2769, allocations: 220.9 kB / 435.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2769, allocations: 0 / 435.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2769, allocations: 0 / 435.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2769, allocations: 0 / 435.6 MB, free: 2.43 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.0007481/0.2777, allocations: 450.7 kB / 436 MB, free: 1.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2777, allocations: 15.97 kB / 436 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.2778, allocations: 42.73 kB / 436.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.2778, allocations: 24.8 kB / 436.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.2782, allocations: 209.1 kB / 436.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2782, allocations: 4.375 kB / 436.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.2782, allocations: 15.92 kB / 436.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.2785, allocations: 150.6 kB / 436.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2786, allocations: 7.938 kB / 436.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2786, allocations: 0 / 436.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2786, allocations: 0 / 436.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.811e-05/0.2787, allocations: 31.92 kB / 436.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.2792, allocations: 341.5 kB / 436.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.2794, allocations: 107.8 kB / 436.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.2795, allocations: 42.56 kB / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.2795, allocations: 7.984 kB / 437 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.2797, allocations: 71.39 kB / 437 MB, free: 0.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.2797, allocations: 0 / 437 MB, free: 0.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003587/0.28, allocations: 145.6 kB / 437.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/0.2801, allocations: 136.5 kB / 437.3 MB, free: 448 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.2804, allocations: 269 kB / 437.6 MB, free: 172 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.2805, allocations: 33.7 kB / 437.6 MB, free: 132 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.2805, allocations: 120.2 kB / 437.7 MB, free: 8 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.2806, allocations: 16.09 kB / 437.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.2806, allocations: 33.66 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2808, allocations: 330.9 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.2809, allocations: 23.98 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.533e-05/0.2809, allocations: 69.88 kB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2811, allocations: 80.25 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2811, allocations: 0 / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000206/0.2813, allocations: 109.5 kB / 438.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2813, allocations: 8 kB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2813, allocations: 0 / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2813, allocations: 4.125 kB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.2814, allocations: 19.94 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2814, allocations: 0 / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.2815, allocations: 19.67 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.2815, allocations: 7.938 kB / 438.4 MB, free: 15.24 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.0001328/0.2816, allocations: 146.1 kB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.849e-05/0.2817, allocations: 61.5 kB / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.282, allocations: 111.4 kB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.282, allocations: 8 kB / 438.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.282, allocations: 3.938 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.282, allocations: 3.938 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.2822, allocations: 200.6 kB / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2822, allocations: 0 / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.2822, allocations: 8 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2822, allocations: 0 / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2822, allocations: 4 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.2822, allocations: 3.984 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2822, allocations: 3.938 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.2825, allocations: 154.7 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.2825, allocations: 31.78 kB / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2826, allocations: 4 kB / 439.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.2826, allocations: 11.98 kB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.2827, allocations: 3.938 kB / 439.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2827, allocations: 11.98 kB / 439.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.2829, allocations: 204.5 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2829, allocations: 0 / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.2831, allocations: 24 kB / 439.4 MB, free: 14.17 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 (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.0019/0.285, allocations: 1.012 MB / 440.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.2852, allocations: 63.91 kB / 440.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2852, allocations: 0 / 440.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.79e-05/0.2853, allocations: 20 kB / 440.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.2857, allocations: 73.89 kB / 440.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.288, allocations: 1.952 MB / 442.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.2884, allocations: 0.7242 MB / 443.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.2885, allocations: 33.72 kB / 443.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.942e-05/0.2886, allocations: 55.34 kB / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2886, allocations: 0 / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/0.3225, allocations: 4.803 MB / 448.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.13, allocations: 4 kB / 448.2 MB, free: 5.496 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.667292785001337]