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.001185/0.001185, allocations: 104.4 kB / 17.59 MB, free: 5.453 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.001157/0.001157, allocations: 187.3 kB / 18.51 MB, free: 4.531 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.337/1.337, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 48.05 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.1008, allocations: 49.45 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003585/0.1044, allocations: 1.503 MB / 352.2 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000615/0.105, allocations: 153 kB / 352.4 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1052, allocations: 4 kB / 352.4 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1054, allocations: 7.922 kB / 352.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.1055, allocations: 7.938 kB / 352.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1059, allocations: 45.7 kB / 352.4 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.106, allocations: 39.86 kB / 352.5 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.1062, allocations: 19.98 kB / 352.5 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.986e-05/0.1063, allocations: 15.94 kB / 352.5 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.1063, allocations: 15.92 kB / 352.5 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.1064, allocations: 0 / 352.5 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.1064, allocations: 4 kB / 352.5 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.1065, allocations: 19.91 kB / 352.6 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.1066, allocations: 23.81 kB / 352.6 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1067, allocations: 47.83 kB / 352.6 MB, free: 2.508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1068, allocations: 4 kB / 352.6 MB, free: 2.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1068, allocations: 0 / 352.6 MB, free: 2.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1068, allocations: 0 / 352.6 MB, free: 2.504 MB / 286.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.0006358/0.1074, allocations: 379.3 kB / 353 MB, free: 2.082 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1075, allocations: 12.03 kB / 353 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.1075, allocations: 8.844 kB / 353 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1078, allocations: 188.1 kB / 353.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.1079, allocations: 4.375 kB / 353.2 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1079, allocations: 384 / 353.2 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.1083, allocations: 122.5 kB / 353.3 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1083, allocations: 192 / 353.3 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1084, allocations: 3.938 kB / 353.3 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-05/0.1084, allocations: 11.97 kB / 353.3 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1085, allocations: 31.92 kB / 353.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.1091, allocations: 365.8 kB / 353.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1093, allocations: 83.72 kB / 353.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.1094, allocations: 34.62 kB / 353.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1095, allocations: 0 / 353.8 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.1095, allocations: 34.5 kB / 353.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.1095, allocations: 0 / 353.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004439/0.11, allocations: 93.61 kB / 354 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.1101, allocations: 106.8 kB / 354.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1103, allocations: 144.3 kB / 354.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1103, allocations: 29.7 kB / 354.2 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.1104, allocations: 84.14 kB / 354.3 MB, free: 0.543 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.1104, allocations: 8.266 kB / 354.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.1105, allocations: 29.66 kB / 354.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1107, allocations: 318.8 kB / 354.7 MB, free: 184 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.867e-05/0.1108, allocations: 11.98 kB / 354.7 MB, free: 172 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.1109, allocations: 35.42 kB / 354.7 MB, free: 124 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.111, allocations: 59.3 kB / 354.8 MB, free: 52 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1111, allocations: 4 kB / 354.8 MB, free: 48 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002444/0.1113, allocations: 65.61 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1113, allocations: 4 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1114, allocations: 128 / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1114, allocations: 8 kB / 354.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.389e-05/0.1114, allocations: 0 / 354.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.1115, allocations: 4 kB / 354.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.1115, allocations: 11.89 kB / 354.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1116, allocations: 8 kB / 354.9 MB, free: 15.94 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.000226/0.1118, allocations: 129.7 kB / 355 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.112, allocations: 41.69 kB / 355.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.112, allocations: 15.89 kB / 355.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.112, allocations: 8 kB / 355.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1121, allocations: 0 / 355.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1121, allocations: 0 / 355.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.1125, allocations: 177.5 kB / 355.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.1125, allocations: 4 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-06/0.1125, allocations: 0 / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1125, allocations: 0 / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1125, allocations: 0 / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.1125, allocations: 4 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1126, allocations: 3.938 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.1129, allocations: 263.5 kB / 355.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.479e-05/0.113, allocations: 89.09 kB / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.113, allocations: 0 / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1132, allocations: 4 kB / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1133, allocations: 0 / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1133, allocations: 8 kB / 355.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1134, allocations: 111.2 kB / 355.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1134, allocations: 0 / 355.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005336/0.114, allocations: 7.984 kB / 355.7 MB, free: 14.98 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.0001548/0.1142, allocations: 107.1 kB / 355.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.1144, allocations: 44.09 kB / 355.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1144, allocations: 8 kB / 355.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.1145, allocations: 11.98 kB / 355.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.1152, allocations: 41.28 kB / 355.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.1158, allocations: 205 kB / 356.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.1162, allocations: 0.6962 MB / 356.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.1163, allocations: 11.44 kB / 356.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1163, allocations: 0 / 356.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of Templates: time 0.003476/0.1198, allocations: 0.7927 MB / 357.6 MB, free: 13.01 MB / 302.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