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.001622/0.001622, allocations: 118.8 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002031/0.002031, allocations: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 247 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 67.88 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2673, allocations: 50.56 MB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002806/0.2701, allocations: 1.518 MB / 410.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003813/0.2705, allocations: 143.5 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.2706, allocations: 4 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.323e-05/0.2707, allocations: 3.938 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.59e-05/0.2708, allocations: 11.91 kB / 410.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.2711, allocations: 39.86 kB / 410.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.2712, allocations: 43.83 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2713, allocations: 16 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.412e-05/0.2713, allocations: 15.92 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.667e-05/0.2714, allocations: 15.92 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2714, allocations: 4 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.2714, allocations: 4 kB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.2715, allocations: 15.92 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.2715, allocations: 27.81 kB / 410.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.2717, allocations: 54.78 kB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2717, allocations: 7.984 kB / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2717, allocations: 0 / 410.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2717, allocations: 0 / 410.7 MB, free: 15.52 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.000487/0.2722, allocations: 375.2 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2722, allocations: 8.031 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.2723, allocations: 34.69 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.2723, allocations: 8.891 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.2726, allocations: 200.2 kB / 411.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.2727, allocations: 4.375 kB / 411.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.2727, allocations: 8.359 kB / 411.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.273, allocations: 118.5 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.273, allocations: 3.938 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.273, allocations: 0 / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.273, allocations: 8 kB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.2731, allocations: 31.91 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.2736, allocations: 357.9 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2737, allocations: 79.78 kB / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.2738, allocations: 30.62 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.2738, allocations: 11.88 kB / 412 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.2739, allocations: 30.56 kB / 412 MB, free: 14.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2739, allocations: 4 kB / 412 MB, free: 14.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002945/0.2742, allocations: 101.5 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.2743, allocations: 106.8 kB / 412.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2744, allocations: 137.8 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.2744, allocations: 25.7 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.2745, allocations: 92.52 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.2745, allocations: 11.89 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.2746, allocations: 25.7 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2747, allocations: 318.8 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.2748, allocations: 11.98 kB / 412.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.2749, allocations: 35.42 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.275, allocations: 55.36 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.275, allocations: 0 / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001482/0.2751, allocations: 77.56 kB / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2752, allocations: 4.125 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2752, allocations: 4 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2752, allocations: 7.938 kB / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.188e-05/0.2752, allocations: 0 / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2752, allocations: 3.938 kB / 413 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.2753, allocations: 8 kB / 413 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.2753, allocations: 4 kB / 413 MB, free: 12.91 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.000112/0.2754, allocations: 125.8 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.921e-05/0.2755, allocations: 49.64 kB / 413.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.2755, allocations: 15.86 kB / 413.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.2756, allocations: 4 kB / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2756, allocations: 0 / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2756, allocations: 3.984 kB / 413.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.2758, allocations: 173.6 kB / 413.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2758, allocations: 0 / 413.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.2759, allocations: 7.938 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2759, allocations: 0 / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2759, allocations: 0 / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2759, allocations: 4 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2759, allocations: 4 kB / 413.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.2761, allocations: 259.5 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.2762, allocations: 93.05 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.2762, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.2763, allocations: 8.125 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.2764, allocations: 7.984 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2764, allocations: 4 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.386e-05/0.2765, allocations: 113.8 kB / 413.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2765, allocations: 0 / 413.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.2768, allocations: 4 kB / 413.9 MB, free: 11.94 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.0005865/0.2774, allocations: 0.7906 MB / 414.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.2775, allocations: 43.91 kB / 414.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2776, allocations: 0 / 414.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.2776, allocations: 20.23 kB / 414.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.278, allocations: 30.3 kB / 414.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.2796, allocations: 1.451 MB / 416.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.28, allocations: 0.6963 MB / 416.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.854e-05/0.2801, allocations: 11.92 kB / 416.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.2801, allocations: 11.44 kB / 416.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2801, allocations: 4 kB / 417 MB, free: 8.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.3035, allocations: 1.722 MB / 418.7 MB, free: 7.152 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.325, allocations: 3.234 kB / 418.7 MB, free: 7.152 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.mat","/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