Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001682/0.001682, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2731, allocations: 50.54 MB / 408.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002796/0.2759, allocations: 1.525 MB / 410.3 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004144/0.2763, allocations: 147.5 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.2764, allocations: 4 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.285e-05/0.2766, allocations: 3.938 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.2767, allocations: 7.922 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.2769, allocations: 35.91 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.277, allocations: 43.84 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2771, allocations: 15.94 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.323e-05/0.2772, allocations: 19.92 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.287e-05/0.2772, allocations: 19.92 kB / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2772, allocations: 0 / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.2772, allocations: 4 kB / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.2773, allocations: 19.91 kB / 410.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.2773, allocations: 27.81 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2775, allocations: 46.86 kB / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2775, allocations: 3.984 kB / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2775, allocations: 0 / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2775, allocations: 0 / 410.7 MB, free: 15.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004318/0.2779, allocations: 379.2 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.278, allocations: 8.031 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.278, allocations: 38.69 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.2781, allocations: 8.891 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.2783, allocations: 196.2 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2784, allocations: 4.375 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.2784, allocations: 384 / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.2787, allocations: 126.4 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2787, allocations: 3.938 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.2787, allocations: 0 / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.2787, allocations: 4 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.287e-05/0.2788, allocations: 31.91 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.2792, allocations: 365.9 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2793, allocations: 75.78 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/0.2794, allocations: 34.62 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.2794, allocations: 4 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.2795, allocations: 38.44 kB / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.2795, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002856/0.2798, allocations: 97.89 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.2798, allocations: 106.8 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.2799, allocations: 137.8 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.28, allocations: 29.64 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.28, allocations: 92.14 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.28, allocations: 7.891 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.2801, allocations: 25.7 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2802, allocations: 322.8 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.2802, allocations: 11.98 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.112e-05/0.2803, allocations: 35.42 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.2804, allocations: 55.36 kB / 412.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2804, allocations: 0 / 412.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001425/0.2806, allocations: 73.56 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2806, allocations: 6.656 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.2806, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2806, allocations: 4 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.826e-05/0.2806, allocations: 0 / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2807, allocations: 8.062 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.2807, allocations: 8 kB / 413 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.2807, allocations: 8 kB / 413 MB, free: 13.04 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000102/0.2808, allocations: 129.7 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.2809, allocations: 45.64 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.281, allocations: 15.83 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.281, allocations: 8.078 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.281, allocations: 0 / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.281, allocations: 8.016 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.2812, allocations: 173.6 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2812, allocations: 3.938 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-06/0.2813, allocations: 4 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2813, allocations: 0 / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.2813, allocations: 0 / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2813, allocations: 7.938 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2813, allocations: 0 / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.2815, allocations: 263.5 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.2816, allocations: 96.98 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2816, allocations: 0 / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.2817, allocations: 7.984 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.2817, allocations: 0 / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.2818, allocations: 4 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.001e-05/0.2818, allocations: 107.2 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.246e-06/0.2818, allocations: 4 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.2821, allocations: 7.938 kB / 413.8 MB, free: 12.06 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0006138/0.2827, allocations: 0.7868 MB / 414.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.2829, allocations: 43.91 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2829, allocations: 0 / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.283, allocations: 15.92 kB / 414.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.2835, allocations: 29.61 kB / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.285, allocations: 1.459 MB / 416.2 MB, free: 9.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.2854, allocations: 0.6924 MB / 416.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.829e-05/0.2854, allocations: 7.984 kB / 416.9 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.2855, allocations: 11.44 kB / 416.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2855, allocations: 4 kB / 416.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.3037, allocations: 1.723 MB / 418.6 MB, free: 7.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.93, allocations: 7.922 kB / 418.6 MB, free: 7.273 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches