Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 112.8 kB / 17.06 MB, free: 5.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 200 kB / 18.01 MB, free: 4.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2433, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002749/0.2461, allocations: 1.508 MB / 401.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003621/0.2465, allocations: 139.8 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.2466, allocations: 2.094 kB / 401.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.613e-05/0.2467, allocations: 7.922 kB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.2468, allocations: 14.17 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.247, allocations: 42.02 kB / 401.9 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.2471, allocations: 43.62 kB / 402 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2472, allocations: 21.8 kB / 402 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.2473, allocations: 11.94 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.598e-05/0.2473, allocations: 15.92 kB / 402 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.2473, allocations: 4 kB / 402 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.2474, allocations: 4 kB / 402 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.2474, allocations: 15.92 kB / 402.1 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.2475, allocations: 19.81 kB / 402.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.2476, allocations: 62.83 kB / 402.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2476, allocations: 7.938 kB / 402.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.2476, allocations: 0 / 402.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.2476, allocations: 3.938 kB / 402.2 MB, free: 6.906 MB / 318.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.0004968/0.2481, allocations: 371.1 kB / 402.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2482, allocations: 12.03 kB / 402.5 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.2482, allocations: 30.75 kB / 402.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.2482, allocations: 8.891 kB / 402.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.2485, allocations: 200.2 kB / 402.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2485, allocations: 4.375 kB / 402.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2485, allocations: 8.375 kB / 402.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.2488, allocations: 114.5 kB / 402.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2488, allocations: 3.938 kB / 402.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.2489, allocations: 0 / 402.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.2489, allocations: 11.98 kB / 402.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.249, allocations: 27.92 kB / 402.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.2495, allocations: 361.8 kB / 403.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2496, allocations: 83.78 kB / 403.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.2497, allocations: 26.62 kB / 403.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.2497, allocations: 3.938 kB / 403.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.2497, allocations: 38.56 kB / 403.4 MB, free: 5.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2497, allocations: 4 kB / 403.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002903/0.25, allocations: 89.56 kB / 403.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.2501, allocations: 114.7 kB / 403.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.2502, allocations: 133.8 kB / 403.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2503, allocations: 29.7 kB / 403.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.2503, allocations: 96.47 kB / 403.9 MB, free: 4.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.2504, allocations: 7.938 kB / 403.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.2504, allocations: 29.66 kB / 403.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2506, allocations: 314.8 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.2506, allocations: 15.98 kB / 404.3 MB, free: 4.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.2507, allocations: 35.42 kB / 404.3 MB, free: 4.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2508, allocations: 51.36 kB / 404.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2508, allocations: 0 / 404.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001492/0.251, allocations: 73.61 kB / 404.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.251, allocations: 4.125 kB / 404.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.251, allocations: 4 kB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.251, allocations: 7.938 kB / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.602e-05/0.251, allocations: 0 / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.251, allocations: 0 / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.2511, allocations: 7.984 kB / 404.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2511, allocations: 11.94 kB / 404.4 MB, free: 4.301 MB / 318.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.000126/0.2512, allocations: 121.7 kB / 404.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.2513, allocations: 53.64 kB / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.2514, allocations: 15.91 kB / 404.6 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.2514, allocations: 11.92 kB / 404.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2514, allocations: 0 / 404.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2514, allocations: 0 / 404.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.2517, allocations: 177.5 kB / 404.8 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2517, allocations: 0 / 404.8 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-06/0.2517, allocations: 4.094 kB / 404.8 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2517, allocations: 3.984 kB / 404.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.2517, allocations: 0 / 404.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2517, allocations: 0 / 404.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.2517, allocations: 11.98 kB / 404.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.252, allocations: 259.5 kB / 405.1 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.2521, allocations: 93.05 kB / 405.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2521, allocations: 0 / 405.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.2522, allocations: 4 kB / 405.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.2522, allocations: 4 kB / 405.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.2523, allocations: 4 kB / 405.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.974e-05/0.2523, allocations: 110.1 kB / 405.3 MB, free: 3.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2524, allocations: 0 / 405.3 MB, free: 3.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.2526, allocations: 11.95 kB / 405.3 MB, free: 3.328 MB / 318.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.0006056/0.2532, allocations: 0.7914 MB / 406.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.2534, allocations: 31.98 kB / 406.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2534, allocations: 0 / 406.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.2535, allocations: 20.17 kB / 406.2 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.2539, allocations: 36.83 kB / 406.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.2554, allocations: 1.447 MB / 407.6 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.2558, allocations: 0.6961 MB / 408.3 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.445e-05/0.2559, allocations: 7.906 kB / 408.3 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.2559, allocations: 23.42 kB / 408.4 MB, free: 120 kB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2559, allocations: 0 / 408.4 MB, free: 120 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.2779, allocations: 1.718 MB / 410.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.145, allocations: 4.484 kB / 410.1 MB, free: 14.54 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches