Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001869/0.001869, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002269/0.002269, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 43.92 kB / 377.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2733, allocations: 53.36 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003457/0.2768, allocations: 1.938 MB / 433.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.2788, allocations: 1.22 MB / 434.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.279, allocations: 7.875 kB / 434.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.2795, allocations: 147.6 kB / 434.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.2799, allocations: 163.4 kB / 434.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.2804, allocations: 170.6 kB / 434.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.2807, allocations: 191.4 kB / 435 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2808, allocations: 29.52 kB / 435 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2809, allocations: 75.7 kB / 435.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.2811, allocations: 79.61 kB / 435.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.2811, allocations: 8 kB / 435.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.2813, allocations: 67.89 kB / 435.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.2813, allocations: 47.84 kB / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.2814, allocations: 71.53 kB / 435.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.2818, allocations: 209 kB / 435.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2818, allocations: 0 / 435.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2818, allocations: 0 / 435.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.2818, allocations: 0 / 435.5 MB, free: 2.473 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.0007463/0.2825, allocations: 454.7 kB / 436 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2826, allocations: 12.03 kB / 436 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.531e-05/0.2826, allocations: 34.75 kB / 436 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.2827, allocations: 28.8 kB / 436 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.283, allocations: 213.1 kB / 436.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.283, allocations: 8.375 kB / 436.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.283, allocations: 7.938 kB / 436.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.2833, allocations: 150.7 kB / 436.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2833, allocations: 0 / 436.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2834, allocations: 3.984 kB / 436.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.2834, allocations: 0 / 436.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.2835, allocations: 43.86 kB / 436.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.2839, allocations: 329.5 kB / 436.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.2842, allocations: 107.9 kB / 436.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.2842, allocations: 46.5 kB / 436.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2843, allocations: 4 kB / 436.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.2844, allocations: 75.45 kB / 437 MB, free: 0.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2844, allocations: 0 / 437 MB, free: 0.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003497/0.2848, allocations: 141.6 kB / 437.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.2849, allocations: 144.5 kB / 437.3 MB, free: 488 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.2852, allocations: 277 kB / 437.6 MB, free: 204 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2852, allocations: 25.7 kB / 437.6 MB, free: 172 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.2853, allocations: 116.1 kB / 437.7 MB, free: 52 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.2853, allocations: 19.89 kB / 437.7 MB, free: 32 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.2854, allocations: 29.75 kB / 437.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2855, allocations: 330.8 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.2856, allocations: 20 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.2857, allocations: 69.98 kB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.2858, allocations: 76.27 kB / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2858, allocations: 0 / 438.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002124/0.286, allocations: 113.5 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.286, allocations: 8 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2861, allocations: 0 / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2861, allocations: 4 kB / 438.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.2861, allocations: 20.05 kB / 438.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.2862, allocations: 4 kB / 438.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.2862, allocations: 15.81 kB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2862, allocations: 8 kB / 438.4 MB, free: 15.29 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,sample1.u,subSample1.y,subSample1.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.0001379/0.2864, allocations: 141.8 kB / 438.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.2865, allocations: 65.48 kB / 438.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.2867, allocations: 107.7 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.2867, allocations: 12.05 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2867, allocations: 64 / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.2867, allocations: 7.938 kB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.2869, allocations: 196.6 kB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2869, allocations: 3.984 kB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.2869, allocations: 7.938 kB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2869, allocations: 0 / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.287, allocations: 4 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.287, allocations: 0 / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.287, allocations: 0 / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.2872, allocations: 166.5 kB / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.2873, allocations: 35.78 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.2873, allocations: 4 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-05/0.2874, allocations: 4 kB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.2874, allocations: 11.92 kB / 439.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2874, allocations: 8 kB / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.2876, allocations: 200.5 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2876, allocations: 0 / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.2879, allocations: 24 kB / 439.4 MB, free: 14.21 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.001963/0.2898, allocations: 1.018 MB / 440.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.2901, allocations: 63.91 kB / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2901, allocations: 0 / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.2901, allocations: 19.98 kB / 440.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.2905, allocations: 69.86 kB / 440.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.2928, allocations: 1.945 MB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.2932, allocations: 0.7398 MB / 443.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.869e-05/0.2933, allocations: 25.47 kB / 443.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.2934, allocations: 43.42 kB / 443.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2934, allocations: 0 / 443.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.3257, allocations: 4.819 MB / 448.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.36, allocations: 4 kB / 448.1 MB, free: 5.539 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! Error: Could not read variable subSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable subSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.01169682100226]