Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.001181, allocations: 195.9 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008446/0.0008449, allocations: 100.5 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 8 kB / 360.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2743, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002418/0.2768, allocations: 1.226 MB / 413.3 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004135/0.2772, allocations: 139.6 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.894e-05/0.2773, allocations: 4 kB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.2775, allocations: 7.922 kB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.2776, allocations: 0.9062 kB / 413.4 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.2778, allocations: 39.91 kB / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.174e-05/0.2779, allocations: 35.86 kB / 413.5 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.278, allocations: 30.56 kB / 413.5 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.2781, allocations: 11.88 kB / 413.5 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.601e-05/0.2781, allocations: 15.92 kB / 413.6 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.2781, allocations: 3.312 kB / 413.6 MB, free: 24.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.2781, allocations: 4 kB / 413.6 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.2782, allocations: 11.92 kB / 413.6 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.2783, allocations: 49.52 kB / 413.6 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.015e-05/0.2784, allocations: 47.8 kB / 413.7 MB, free: 24.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2784, allocations: 3.938 kB / 413.7 MB, free: 24.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.2784, allocations: 0 / 413.7 MB, free: 24.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2784, allocations: 3.938 kB / 413.7 MB, free: 24.28 MB / 298.7 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.0004104/0.2788, allocations: 358.5 kB / 414 MB, free: 23.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2788, allocations: 8.031 kB / 414 MB, free: 23.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.2789, allocations: 12.75 kB / 414.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.279, allocations: 197 kB / 414.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.2791, allocations: 384 / 414.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.2791, allocations: 8.359 kB / 414.3 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.2793, allocations: 122.5 kB / 414.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2794, allocations: 8.125 kB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2794, allocations: 3.938 kB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.2794, allocations: 4 kB / 414.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.756e-05/0.2795, allocations: 27.98 kB / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.2799, allocations: 369.8 kB / 414.8 MB, free: 23.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.28, allocations: 79.72 kB / 414.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.2801, allocations: 38.62 kB / 414.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.2801, allocations: 0 / 414.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.2801, allocations: 30.56 kB / 414.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2801, allocations: 0 / 414.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002697/0.2804, allocations: 109.6 kB / 415 MB, free: 22.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2805, allocations: 106.8 kB / 415.1 MB, free: 22.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.542e-05/0.2805, allocations: 141.5 kB / 415.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.2806, allocations: 25.7 kB / 415.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.2806, allocations: 92.06 kB / 415.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.2806, allocations: 11.91 kB / 415.4 MB, free: 22.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.2806, allocations: 4.188 kB / 415.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.171e-05/0.2807, allocations: 310.8 kB / 415.7 MB, free: 21.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.2807, allocations: 15.98 kB / 415.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.384e-05/0.2808, allocations: 39.42 kB / 415.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.2809, allocations: 59.3 kB / 415.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2809, allocations: 0 / 415.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001155/0.281, allocations: 81.58 kB / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.281, allocations: 8 kB / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.281, allocations: 0 / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2811, allocations: 0 / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.726e-05/0.2811, allocations: 4 kB / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2811, allocations: 0 / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.2811, allocations: 11.92 kB / 415.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.2812, allocations: 4 kB / 415.9 MB, free: 21.74 MB / 298.7 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.481e-05/0.2813, allocations: 133.8 kB / 416.1 MB, free: 21.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.2813, allocations: 53.53 kB / 416.1 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.2814, allocations: 11.86 kB / 416.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.2814, allocations: 8 kB / 416.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2814, allocations: 0 / 416.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2814, allocations: 0 / 416.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.2816, allocations: 173.6 kB / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2816, allocations: 0 / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-06/0.2816, allocations: 4 kB / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2816, allocations: 0 / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.2816, allocations: 4.031 kB / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2816, allocations: 4 kB / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2816, allocations: 0 / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.2818, allocations: 263.6 kB / 416.6 MB, free: 21.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.2818, allocations: 101 kB / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2818, allocations: 0 / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.2819, allocations: 4 kB / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.282, allocations: 0 / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.282, allocations: 7.984 kB / 416.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.282, allocations: 103.3 kB / 416.8 MB, free: 20.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.282, allocations: 3.938 kB / 416.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.2823, allocations: 8 kB / 416.8 MB, free: 20.77 MB / 298.7 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 9.303e-05/0.2824, allocations: 107.2 kB / 416.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.2825, allocations: 43.91 kB / 416.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2825, allocations: 0 / 416.9 MB, free: 20.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.2826, allocations: 16.3 kB / 417 MB, free: 20.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.283, allocations: 35.95 kB / 417 MB, free: 20.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.2832, allocations: 194.3 kB / 417.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.2834, allocations: 0.7005 MB / 417.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.457e-05/0.2834, allocations: 11.98 kB / 417.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.2834, allocations: 7.438 kB / 417.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2834, allocations: 0 / 417.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of Templates: time 0.002393/0.2858, allocations: 0.5469 MB / 418.4 MB, free: 19.05 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches