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.001172/0.001172, allocations: 112.6 kB / 17.06 MB, free: 6.102 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.001374/0.001374, allocations: 199 kB / 18 MB, free: 5.18 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009956/0.0009956, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2511, allocations: 49.44 MB / 400.2 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002766/0.2539, allocations: 1.504 MB / 401.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003886/0.2544, allocations: 152.7 kB / 401.9 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.2545, allocations: 1.25 kB / 401.9 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.2546, allocations: 5.094 kB / 401.9 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.635e-05/0.2547, allocations: 13.27 kB / 401.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.255, allocations: 39.72 kB / 401.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2551, allocations: 39.91 kB / 402 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2552, allocations: 16 kB / 402 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.2552, allocations: 19.86 kB / 402 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.2553, allocations: 15.92 kB / 402 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.2553, allocations: 4 kB / 402 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.2553, allocations: 4 kB / 402 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.2554, allocations: 19.91 kB / 402.1 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.2554, allocations: 19.81 kB / 402.1 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.2555, allocations: 55.77 kB / 402.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2556, allocations: 0 / 402.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2556, allocations: 0 / 402.1 MB, free: 7.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2556, allocations: 0 / 402.1 MB, free: 7.043 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.0004901/0.2561, allocations: 380.9 kB / 402.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2561, allocations: 12.03 kB / 402.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.2562, allocations: 34.69 kB / 402.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.2562, allocations: 12.78 kB / 402.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.2565, allocations: 198.8 kB / 402.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.2565, allocations: 384 / 402.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2565, allocations: 8.375 kB / 402.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.2568, allocations: 118.5 kB / 402.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2568, allocations: 3.938 kB / 402.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2568, allocations: 0 / 402.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.2569, allocations: 4 kB / 402.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.2569, allocations: 27.92 kB / 402.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.2574, allocations: 365.9 kB / 403.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.2575, allocations: 79.78 kB / 403.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.918e-05/0.2576, allocations: 30.62 kB / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2576, allocations: 3.938 kB / 403.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2576, allocations: 38.56 kB / 403.4 MB, free: 5.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.2576, allocations: 3.938 kB / 403.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002933/0.2579, allocations: 97.78 kB / 403.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.258, allocations: 106.8 kB / 403.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2581, allocations: 137.8 kB / 403.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.2582, allocations: 29.7 kB / 403.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.2582, allocations: 96.05 kB / 403.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.2582, allocations: 0 / 403.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.2583, allocations: 21.72 kB / 403.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2584, allocations: 322.9 kB / 404.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.2585, allocations: 15.98 kB / 404.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2586, allocations: 35.42 kB / 404.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.881e-05/0.2587, allocations: 51.36 kB / 404.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2587, allocations: 0 / 404.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001572/0.2589, allocations: 77.52 kB / 404.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2589, allocations: 4 kB / 404.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2589, allocations: 0 / 404.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2589, allocations: 4.094 kB / 404.4 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.569e-05/0.259, allocations: 8.109 kB / 404.4 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.259, allocations: 7.938 kB / 404.4 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.259, allocations: 7.938 kB / 404.4 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.259, allocations: 4 kB / 404.4 MB, free: 4.43 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.0001017/0.2592, allocations: 121.8 kB / 404.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.2592, allocations: 53.59 kB / 404.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.2593, allocations: 11.88 kB / 404.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.2593, allocations: 7.938 kB / 404.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2593, allocations: 4.031 kB / 404.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2593, allocations: 0 / 404.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.2596, allocations: 177.6 kB / 404.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2596, allocations: 0 / 404.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.2596, allocations: 7.938 kB / 404.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2596, allocations: 0 / 404.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.2596, allocations: 0 / 404.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2596, allocations: 0 / 404.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2596, allocations: 4 kB / 404.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.2598, allocations: 263.5 kB / 405.1 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.2599, allocations: 89 kB / 405.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.2599, allocations: 3.938 kB / 405.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.26, allocations: 7.984 kB / 405.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.2601, allocations: 4 kB / 405.2 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.2601, allocations: 4 kB / 405.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.225e-05/0.2602, allocations: 117.4 kB / 405.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2602, allocations: 0 / 405.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.2604, allocations: 4 kB / 405.3 MB, free: 3.461 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.0005089/0.2609, allocations: 0.7952 MB / 406.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.2611, allocations: 39.91 kB / 406.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2611, allocations: 0 / 406.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.009e-05/0.2612, allocations: 19.92 kB / 406.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.2616, allocations: 22.14 kB / 406.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.263, allocations: 1.451 MB / 407.6 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.2633, allocations: 0.6922 MB / 408.3 MB, free: 288 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.217e-05/0.2634, allocations: 7.984 kB / 408.3 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.2634, allocations: 19.44 kB / 408.3 MB, free: 260 kB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2635, allocations: 0 / 408.3 MB, free: 260 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.2821, allocations: 1.735 MB / 410.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.993/10.28, allocations: 8.484 kB / 410.1 MB, free: 14.66 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