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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001216/0.001216, allocations: 191 kB / 18.67 MB, free: 4.438 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.511/1.511, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 47.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3735, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003731/0.3773, allocations: 1.513 MB / 402.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005531/0.3779, allocations: 151.5 kB / 403.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.143e-05/0.378, allocations: 7.938 kB / 403.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.3782, allocations: 7.922 kB / 403.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.3783, allocations: 3.938 kB / 403.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3786, allocations: 47.89 kB / 403.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3787, allocations: 31.92 kB / 403.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.3789, allocations: 19.92 kB / 403.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.3789, allocations: 11.94 kB / 403.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.379, allocations: 23.86 kB / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.379, allocations: 0 / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.379, allocations: 4 kB / 403.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.09e-05/0.3791, allocations: 19.92 kB / 403.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.3792, allocations: 31.8 kB / 403.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.3793, allocations: 51.75 kB / 403.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.3794, allocations: 3.938 kB / 403.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.3794, allocations: 0 / 403.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.3794, allocations: 0 / 403.3 MB, free: 6.969 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.0006593/0.38, allocations: 372.3 kB / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3801, allocations: 8.031 kB / 403.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.3801, allocations: 8.844 kB / 403.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.3804, allocations: 204 kB / 403.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3804, allocations: 4.375 kB / 403.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3804, allocations: 4.375 kB / 403.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.3808, allocations: 118.4 kB / 404 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3808, allocations: 4.188 kB / 404 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3808, allocations: 3.938 kB / 404 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.3809, allocations: 4 kB / 404 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.352e-05/0.381, allocations: 27.98 kB / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.3815, allocations: 353.9 kB / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3816, allocations: 83.72 kB / 404.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.3817, allocations: 34.62 kB / 404.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.3817, allocations: 0 / 404.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.3817, allocations: 38.56 kB / 404.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 3.045e-06/0.3817, allocations: 0 / 404.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003293/0.3821, allocations: 97.42 kB / 404.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.3822, allocations: 106.8 kB / 404.8 MB, free: 5.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3823, allocations: 148.8 kB / 404.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3824, allocations: 29.7 kB / 404.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.3825, allocations: 96.05 kB / 405 MB, free: 5.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.3825, allocations: 0 / 405 MB, free: 5.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.3825, allocations: 17.72 kB / 405 MB, free: 4.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.3827, allocations: 318.8 kB / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.3828, allocations: 11.98 kB / 405.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.3829, allocations: 43.38 kB / 405.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.383, allocations: 51.34 kB / 405.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.383, allocations: 0 / 405.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001513/0.3832, allocations: 81.48 kB / 405.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3832, allocations: 8 kB / 405.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3832, allocations: 0 / 405.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.3833, allocations: 0 / 405.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.11e-05/0.3833, allocations: 4 kB / 405.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3833, allocations: 3.938 kB / 405.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.3834, allocations: 7.938 kB / 405.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3834, allocations: 0 / 405.6 MB, free: 4.422 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.0001326/0.3835, allocations: 133.8 kB / 405.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.3836, allocations: 57.53 kB / 405.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.3836, allocations: 11.88 kB / 405.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.3837, allocations: 0 / 405.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3837, allocations: 4 kB / 405.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3837, allocations: 0 / 405.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.3839, allocations: 181.6 kB / 405.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3839, allocations: 0 / 405.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-06/0.384, allocations: 0 / 405.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.384, allocations: 4 kB / 405.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.384, allocations: 32 / 405.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.384, allocations: 4 kB / 405.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.384, allocations: 0 / 405.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.3842, allocations: 259.5 kB / 406.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.3843, allocations: 89 kB / 406.3 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3843, allocations: 4 kB / 406.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.3844, allocations: 7.984 kB / 406.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.3845, allocations: 8 kB / 406.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3845, allocations: 4.078 kB / 406.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.281e-05/0.3846, allocations: 107.2 kB / 406.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3846, allocations: 0 / 406.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.3849, allocations: 8 kB / 406.4 MB, free: 3.449 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.0001362/0.385, allocations: 99.25 kB / 406.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.3852, allocations: 51.89 kB / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3852, allocations: 0 / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.392e-05/0.3853, allocations: 11.94 kB / 406.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.3857, allocations: 27.94 kB / 406.6 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.3862, allocations: 209.4 kB / 406.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3864, allocations: 0.6961 MB / 407.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.3865, allocations: 7.438 kB / 407.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3865, allocations: 0 / 407.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of Templates: time 0.002654/0.3891, allocations: 0.8106 MB / 408.3 MB, free: 1.48 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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