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.00178/0.00178, allocations: 118.5 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002245/0.002245, allocations: 197.2 kB / 18.73 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.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2705, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002701/0.2733, allocations: 1.526 MB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003768/0.2737, allocations: 143.5 kB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.2737, allocations: 4 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.674e-05/0.2738, allocations: 3.938 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.2739, allocations: 3.938 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.2741, allocations: 51.83 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.2743, allocations: 31.92 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2744, allocations: 19.81 kB / 410.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.2744, allocations: 15.92 kB / 410.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.2745, allocations: 11.94 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.2745, allocations: 4 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.2745, allocations: 4 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.2746, allocations: 23.91 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.2746, allocations: 23.81 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.2747, allocations: 58.78 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2747, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.604e-06/0.2748, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.81e-06/0.2748, allocations: 0 / 410.7 MB, free: 15.6 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.0004819/0.2753, allocations: 375.1 kB / 411 MB, free: 15.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2753, allocations: 12.03 kB / 411 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.2753, allocations: 38.73 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.2754, allocations: 12.89 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.2756, allocations: 192.2 kB / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2756, allocations: 384 / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.2757, allocations: 4.375 kB / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.2759, allocations: 122.5 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.276, allocations: 3.938 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.276, allocations: 3.984 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.276, allocations: 4 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.851e-05/0.2761, allocations: 27.92 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.2765, allocations: 373.8 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2767, allocations: 75.77 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.2767, allocations: 34.62 kB / 411.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.2768, allocations: 3.938 kB / 411.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.2768, allocations: 38.56 kB / 412 MB, free: 14.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2768, allocations: 0 / 412 MB, free: 14.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002951/0.2771, allocations: 93.56 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.2772, allocations: 110.7 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2773, allocations: 138.2 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2773, allocations: 25.7 kB / 412.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.2774, allocations: 92.14 kB / 412.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.2774, allocations: 11.88 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.2775, allocations: 17.72 kB / 412.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2776, allocations: 322.8 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.2777, allocations: 11.98 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/0.2777, allocations: 39.42 kB / 412.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.2778, allocations: 51.36 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2778, allocations: 0 / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.278, allocations: 77.56 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.278, allocations: 11.12 kB / 412.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.278, allocations: 3.938 kB / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.278, allocations: 0 / 412.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.163e-05/0.2781, allocations: 4 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.2781, allocations: 3.984 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.2781, allocations: 8 kB / 413 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2781, allocations: 0 / 413 MB, free: 12.99 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.0001154/0.2783, allocations: 129.8 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/0.2784, allocations: 49.64 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.2784, allocations: 23.75 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.2784, allocations: 0 / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2784, allocations: 4 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2784, allocations: 0 / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.2787, allocations: 173.6 kB / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2787, allocations: 0 / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-06/0.2787, allocations: 0 / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2787, allocations: 8.031 kB / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.2787, allocations: 0 / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2787, allocations: 0 / 413.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.2787, allocations: 4 kB / 413.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.279, allocations: 267.4 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.2791, allocations: 101 kB / 413.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.2791, allocations: 0 / 413.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.2792, allocations: 0 / 413.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.2792, allocations: 4 kB / 413.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.2792, allocations: 3.984 kB / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.365e-05/0.2793, allocations: 103.3 kB / 413.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2793, allocations: 4 kB / 413.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.2796, allocations: 4 kB / 413.8 MB, free: 12.02 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.0005646/0.2802, allocations: 0.7945 MB / 414.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.2803, allocations: 40.16 kB / 414.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.2803, allocations: 4 kB / 414.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.2804, allocations: 7.938 kB / 414.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.2808, allocations: 38.75 kB / 414.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2822, allocations: 1.457 MB / 416.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.2826, allocations: 0.6885 MB / 416.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.707e-05/0.2826, allocations: 12.22 kB / 416.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.2827, allocations: 15.44 kB / 416.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2827, allocations: 0 / 416.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.3059, allocations: 1.711 MB / 418.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.079, allocations: 15.42 kB / 418.6 MB, free: 7.23 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.1.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