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.00129/0.00129, allocations: 114.2 kB / 17.07 MB, free: 5.988 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.001675/0.001676, allocations: 195 kB / 18 MB, free: 5.074 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.523/1.523, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 47.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4076, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003679/0.4113, allocations: 1.522 MB / 402.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005689/0.4119, allocations: 143.5 kB / 402.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.4121, allocations: 4 kB / 402.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.4122, allocations: 3.938 kB / 402.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.4124, allocations: 3.938 kB / 402.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.4128, allocations: 43.83 kB / 402.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.4129, allocations: 39.86 kB / 402.5 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.4131, allocations: 19.98 kB / 402.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.4132, allocations: 15.92 kB / 402.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.4132, allocations: 11.94 kB / 402.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.4133, allocations: 4 kB / 402.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.927e-05/0.4133, allocations: 4 kB / 402.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.4134, allocations: 19.91 kB / 402.5 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.4135, allocations: 23.81 kB / 402.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.4137, allocations: 59.69 kB / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4137, allocations: 0 / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4137, allocations: 0 / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.4137, allocations: 0 / 402.6 MB, free: 6.973 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.0007291/0.4145, allocations: 379 kB / 403 MB, free: 6.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.4145, allocations: 8.031 kB / 403 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.4146, allocations: 8.891 kB / 403 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.415, allocations: 202.7 kB / 403.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.4151, allocations: 8.375 kB / 403.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.4151, allocations: 4.375 kB / 403.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.4155, allocations: 114.5 kB / 403.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4155, allocations: 192 / 403.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.4155, allocations: 3.938 kB / 403.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.4156, allocations: 11.94 kB / 403.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.4157, allocations: 31.91 kB / 403.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.4163, allocations: 354 kB / 403.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4165, allocations: 87.7 kB / 403.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.4166, allocations: 34.58 kB / 403.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.4167, allocations: 0 / 403.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.4167, allocations: 38.55 kB / 403.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4167, allocations: 4 kB / 403.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003646/0.4171, allocations: 93.5 kB / 404 MB, free: 5.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.4172, allocations: 106.8 kB / 404.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.4174, allocations: 141.8 kB / 404.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.4174, allocations: 25.7 kB / 404.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.4175, allocations: 92.47 kB / 404.3 MB, free: 5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.4176, allocations: 12 kB / 404.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.4176, allocations: 25.66 kB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.4178, allocations: 310.8 kB / 404.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/0.4179, allocations: 15.98 kB / 404.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.418, allocations: 35.42 kB / 404.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.4181, allocations: 55.3 kB / 404.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4181, allocations: 4 kB / 404.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001381/0.4183, allocations: 69.61 kB / 404.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4183, allocations: 8.125 kB / 404.9 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4183, allocations: 4.094 kB / 404.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4183, allocations: 3.984 kB / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.281e-05/0.4183, allocations: 3.938 kB / 404.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4184, allocations: 4 kB / 404.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.672e-05/0.4184, allocations: 0 / 404.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.4184, allocations: 7.984 kB / 404.9 MB, free: 4.406 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.000116/0.4185, allocations: 133.6 kB / 405 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.4186, allocations: 53.64 kB / 405.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.4187, allocations: 7.875 kB / 405.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.4187, allocations: 11.98 kB / 405.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4187, allocations: 0 / 405.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4187, allocations: 0 / 405.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.419, allocations: 177.5 kB / 405.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.419, allocations: 4 kB / 405.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-06/0.419, allocations: 7.875 kB / 405.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.419, allocations: 0 / 405.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.419, allocations: 4 kB / 405.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.419, allocations: 4 kB / 405.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.419, allocations: 4.031 kB / 405.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.4193, allocations: 255.6 kB / 405.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.4194, allocations: 89.06 kB / 405.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.4194, allocations: 3.984 kB / 405.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.4195, allocations: 4 kB / 405.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.4195, allocations: 11.94 kB / 405.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.4196, allocations: 0 / 405.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.523e-05/0.4196, allocations: 109.3 kB / 405.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4196, allocations: 0 / 405.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.4199, allocations: 11.95 kB / 405.8 MB, free: 3.426 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.000128/0.42, allocations: 103.2 kB / 405.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.4202, allocations: 43.91 kB / 405.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4202, allocations: 0 / 405.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.4203, allocations: 12 kB / 405.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.4207, allocations: 30.7 kB / 405.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.4211, allocations: 175.6 kB / 406.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4214, allocations: 0.7 MB / 406.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.622e-05/0.4215, allocations: 7.984 kB / 406.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.4215, allocations: 7.438 kB / 406.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4215, allocations: 0 / 406.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of Templates: time 0.003357/0.4249, allocations: 0.6087 MB / 407.4 MB, free: 1.691 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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