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.001097/0.001098, allocations: 111.2 kB / 17.74 MB, free: 5.344 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.001079/0.001079, allocations: 188.1 kB / 18.67 MB, free: 4.422 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.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 47.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.256, allocations: 49.42 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002676/0.2587, allocations: 1.517 MB / 402.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004079/0.2591, allocations: 147.5 kB / 403.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.2592, allocations: 0 / 403.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.2593, allocations: 11.86 kB / 403.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.2594, allocations: 15.92 kB / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.2596, allocations: 31.91 kB / 403.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.2598, allocations: 39.91 kB / 403.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.2599, allocations: 19.98 kB / 403.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.2599, allocations: 19.88 kB / 403.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.694e-05/0.26, allocations: 19.86 kB / 403.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.26, allocations: 0 / 403.2 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.26, allocations: 4 kB / 403.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.2601, allocations: 15.92 kB / 403.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.2601, allocations: 23.81 kB / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.2602, allocations: 59.73 kB / 403.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2602, allocations: 0 / 403.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2603, allocations: 0 / 403.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2603, allocations: 0 / 403.3 MB, free: 6.949 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.0004615/0.2607, allocations: 372.3 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.2608, allocations: 8.031 kB / 403.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.2608, allocations: 8.844 kB / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.261, allocations: 196.1 kB / 403.9 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2611, allocations: 8.312 kB / 403.9 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.2611, allocations: 8.359 kB / 403.9 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.2613, allocations: 118.5 kB / 404 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2614, allocations: 192 / 404 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2614, allocations: 7.938 kB / 404 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.2614, allocations: 4 kB / 404 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.714e-05/0.2615, allocations: 27.97 kB / 404.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.2619, allocations: 357.9 kB / 404.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.262, allocations: 79.72 kB / 404.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.17e-05/0.2621, allocations: 38.62 kB / 404.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.2621, allocations: 0 / 404.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2622, allocations: 34.56 kB / 404.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2622, allocations: 0 / 404.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002817/0.2624, allocations: 105.8 kB / 404.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.2625, allocations: 110.8 kB / 404.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2626, allocations: 140.3 kB / 404.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2627, allocations: 25.7 kB / 404.9 MB, free: 5.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.2627, allocations: 96.05 kB / 405 MB, free: 4.984 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/0.2628, allocations: 0 / 405 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.2628, allocations: 21.7 kB / 405 MB, free: 4.957 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2629, allocations: 322.9 kB / 405.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.037e-05/0.263, allocations: 11.98 kB / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.074e-05/0.263, allocations: 35.42 kB / 405.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.2631, allocations: 59.3 kB / 405.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2632, allocations: 0 / 405.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001357/0.2633, allocations: 73.45 kB / 405.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2633, allocations: 8 kB / 405.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2633, allocations: 0 / 405.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2633, allocations: 0 / 405.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.956e-05/0.2634, allocations: 4 kB / 405.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2634, allocations: 128 / 405.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.943e-05/0.2634, allocations: 11.94 kB / 405.6 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2634, allocations: 4 kB / 405.6 MB, free: 4.398 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 9.406e-05/0.2635, allocations: 129.7 kB / 405.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.2636, allocations: 53.53 kB / 405.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.2637, allocations: 15.88 kB / 405.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.2637, allocations: 0 / 405.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2637, allocations: 4 kB / 405.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2637, allocations: 4.031 kB / 405.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.2639, allocations: 177.6 kB / 405.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2639, allocations: 0 / 405.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.264, allocations: 0 / 405.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.264, allocations: 4 kB / 405.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.264, allocations: 0 / 405.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.264, allocations: 0 / 405.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.264, allocations: 4 kB / 405.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.2642, allocations: 259.5 kB / 406.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.2643, allocations: 93 kB / 406.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.2643, allocations: 4 kB / 406.3 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.2644, allocations: 8.062 kB / 406.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.2645, allocations: 11.92 kB / 406.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2645, allocations: 0 / 406.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.583e-05/0.2645, allocations: 107.2 kB / 406.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2645, allocations: 8 kB / 406.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.2648, allocations: 4 kB / 406.4 MB, free: 3.422 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.0001118/0.2649, allocations: 99.25 kB / 406.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.2651, allocations: 43.91 kB / 406.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2651, allocations: 0 / 406.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.492e-05/0.2651, allocations: 12.25 kB / 406.6 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.0004088/0.2656, allocations: 38.06 kB / 406.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.2659, allocations: 204.9 kB / 406.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.2662, allocations: 0.6922 MB / 407.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.2662, allocations: 15.44 kB / 407.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2662, allocations: 0 / 407.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of Templates: time 0.002191/0.2684, allocations: 0.8096 MB / 408.3 MB, free: 1.453 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