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.0007564/0.0007564, allocations: 91.48 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009661/0.0009663, allocations: 202.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002013/0.0002013, allocations: 4 kB / 307.8 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08496/0.08517, allocations: 51.53 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001666/0.08688, allocations: 1.239 MB / 360.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000323/0.08723, allocations: 139.6 kB / 360.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.08732, allocations: 4 kB / 360.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.307e-05/0.0874, allocations: 3.938 kB / 360.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.276e-05/0.08748, allocations: 7.922 kB / 360.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.08769, allocations: 35.97 kB / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.761e-05/0.08778, allocations: 39.8 kB / 360.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.08788, allocations: 23.97 kB / 360.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.08791, allocations: 7.938 kB / 360.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.244e-05/0.08795, allocations: 19.91 kB / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.08797, allocations: 3.938 kB / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.08799, allocations: 4 kB / 360.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.08804, allocations: 11.94 kB / 360.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.0881, allocations: 49.5 kB / 360.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.77e-05/0.0882, allocations: 47.8 kB / 361 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.08821, allocations: 0 / 361 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.08822, allocations: 0 / 361 MB, free: 11.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.08823, allocations: 4 kB / 361 MB, free: 11.55 MB / 302.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.0004052/0.08864, allocations: 367.4 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.08869, allocations: 8.031 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.08874, allocations: 38.75 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.08877, allocations: 8.844 kB / 361.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.08894, allocations: 188.1 kB / 361.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.08898, allocations: 12.36 kB / 361.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.089, allocations: 384 / 361.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.08924, allocations: 122.5 kB / 361.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.08926, allocations: 7.938 kB / 361.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.08927, allocations: 4 kB / 361.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.0893, allocations: 0 / 361.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.1e-05/0.0894, allocations: 35.92 kB / 361.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.08979, allocations: 365.8 kB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.08993, allocations: 83.78 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.09, allocations: 34.62 kB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.09002, allocations: 0 / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.09006, allocations: 42.5 kB / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.09007, allocations: 0 / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002937/0.09036, allocations: 97.5 kB / 362.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.09046, allocations: 115.2 kB / 362.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.09058, allocations: 137.8 kB / 362.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.0906, allocations: 25.7 kB / 362.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.09066, allocations: 88.05 kB / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.09068, allocations: 7.938 kB / 362.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.09071, allocations: 13.72 kB / 362.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.09084, allocations: 322.8 kB / 363.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.09089, allocations: 15.98 kB / 363.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-05/0.09096, allocations: 43.38 kB / 363.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.09107, allocations: 63.34 kB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.09108, allocations: 0 / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001501/0.09123, allocations: 81.45 kB / 363.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.09126, allocations: 4 kB / 363.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.09127, allocations: 4 kB / 363.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.09129, allocations: 0 / 363.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.09131, allocations: 4.125 kB / 363.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.09132, allocations: 4 kB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.09136, allocations: 4 kB / 363.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.09138, allocations: 0 / 363.3 MB, free: 8.938 MB / 302.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.00012/0.0915, allocations: 133.6 kB / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.819e-05/0.09159, allocations: 53.59 kB / 363.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.09164, allocations: 11.83 kB / 363.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.09166, allocations: 4.031 kB / 363.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.09167, allocations: 8 kB / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.09168, allocations: 0 / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.0919, allocations: 177.6 kB / 363.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.09191, allocations: 0 / 363.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-06/0.09192, allocations: 0 / 363.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.09193, allocations: 4 kB / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.09194, allocations: 0 / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.09195, allocations: 0 / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09195, allocations: 0 / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.09218, allocations: 267.4 kB / 363.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.09225, allocations: 93 kB / 364 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.09227, allocations: 4 kB / 364 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.09236, allocations: 4.125 kB / 364 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.09241, allocations: 11.98 kB / 364 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.09242, allocations: 4 kB / 364.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.503e-05/0.09249, allocations: 109.9 kB / 364.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.09249, allocations: 4 kB / 364.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.09275, allocations: 11.94 kB / 364.2 MB, free: 7.949 MB / 302.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.0005994/0.09336, allocations: 0.7906 MB / 365 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.0935, allocations: 43.91 kB / 365 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.09352, allocations: 4.25 kB / 365 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/0.09359, allocations: 16 kB / 365 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.09399, allocations: 30.77 kB / 365.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.09523, allocations: 1.473 MB / 366.5 MB, free: 5.453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.09551, allocations: 0.7004 MB / 367.2 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.616e-05/0.09555, allocations: 7.984 kB / 367.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.09559, allocations: 15.44 kB / 367.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.0956, allocations: 0 / 367.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01079/0.1064, allocations: 1.445 MB / 368.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.1066, allocations: 245.2 kB / 368.9 MB, free: 3.176 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.725, allocations: 0 / 368.9 MB, free: 3.176 MB / 302.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.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