Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008873/0.0008875, allocations: 182.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 225.7 MB / 243.2 MB, free: 10.25 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007818/0.0007817, allocations: 99.53 kB / 294.4 MB, free: 9.738 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.0002789, allocations: 4 kB / 354.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2219, allocations: 50.41 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001327/0.2233, allocations: 1.218 MB / 405.8 MB, free: 30.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002738/0.2236, allocations: 145.5 kB / 405.9 MB, free: 29.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.2237, allocations: 0 / 405.9 MB, free: 29.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.463e-05/0.2238, allocations: 3.938 kB / 405.9 MB, free: 29.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.2238, allocations: 7.984 kB / 406 MB, free: 29.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.224, allocations: 35.89 kB / 406 MB, free: 29.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.2241, allocations: 41.86 kB / 406 MB, free: 29.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.2242, allocations: 15.98 kB / 406 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.2242, allocations: 16.97 kB / 406.1 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.759e-05/0.2243, allocations: 19.91 kB / 406.1 MB, free: 29.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.2243, allocations: 0 / 406.1 MB, free: 29.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-06/0.2243, allocations: 0.8125 kB / 406.1 MB, free: 29.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.2244, allocations: 11.94 kB / 406.1 MB, free: 29.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.2244, allocations: 55.38 kB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.094e-05/0.2245, allocations: 47.8 kB / 406.2 MB, free: 29.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2245, allocations: 0 / 406.2 MB, free: 29.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2245, allocations: 0 / 406.2 MB, free: 29.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.625e-06/0.2245, allocations: 0 / 406.2 MB, free: 29.74 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.0003207/0.2248, allocations: 361.6 kB / 406.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2249, allocations: 12.03 kB / 406.6 MB, free: 29.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.2249, allocations: 12.75 kB / 406.6 MB, free: 29.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.225, allocations: 184.2 kB / 406.8 MB, free: 29.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.2251, allocations: 8.359 kB / 406.8 MB, free: 29.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2251, allocations: 4.312 kB / 406.8 MB, free: 29.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.2253, allocations: 126.4 kB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2253, allocations: 4.188 kB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2253, allocations: 7.922 kB / 406.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2254, allocations: 0 / 406.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.79e-05/0.2255, allocations: 27.98 kB / 406.9 MB, free: 28.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.2257, allocations: 369.8 kB / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.262e-05/0.2258, allocations: 83.72 kB / 407.4 MB, free: 28.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.2259, allocations: 34.62 kB / 407.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.2259, allocations: 0 / 407.4 MB, free: 28.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.2259, allocations: 38.56 kB / 407.4 MB, free: 28.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.2259, allocations: 0 / 407.4 MB, free: 28.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002368/0.2262, allocations: 105.4 kB / 407.5 MB, free: 28.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.2262, allocations: 102.8 kB / 407.6 MB, free: 28.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.2263, allocations: 134.2 kB / 407.8 MB, free: 27.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.2263, allocations: 29.7 kB / 407.8 MB, free: 27.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.2263, allocations: 92.12 kB / 407.9 MB, free: 27.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.2263, allocations: 3.906 kB / 407.9 MB, free: 27.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.2264, allocations: 4 kB / 407.9 MB, free: 27.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.825e-05/0.2264, allocations: 314.8 kB / 408.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.203e-05/0.2264, allocations: 15.98 kB / 408.2 MB, free: 27.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.2265, allocations: 43.42 kB / 408.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.2266, allocations: 59.23 kB / 408.3 MB, free: 27.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2266, allocations: 4 kB / 408.3 MB, free: 27.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001098/0.2267, allocations: 77.55 kB / 408.4 MB, free: 27.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.2267, allocations: 4 kB / 408.4 MB, free: 27.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2267, allocations: 4 kB / 408.4 MB, free: 27.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2267, allocations: 0 / 408.4 MB, free: 27.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-05/0.2268, allocations: 0 / 408.4 MB, free: 27.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.2268, allocations: 8 kB / 408.4 MB, free: 27.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.2268, allocations: 8.125 kB / 408.4 MB, free: 27.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.2268, allocations: 3.984 kB / 408.4 MB, free: 27.2 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 8.788e-05/0.2269, allocations: 125.7 kB / 408.6 MB, free: 27.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.227, allocations: 57.53 kB / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.227, allocations: 7.875 kB / 408.6 MB, free: 27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.227, allocations: 3.984 kB / 408.6 MB, free: 26.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.227, allocations: 4 kB / 408.6 MB, free: 26.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2271, allocations: 4.031 kB / 408.6 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2272, allocations: 177.6 kB / 408.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2272, allocations: 0 / 408.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.2272, allocations: 3.938 kB / 408.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2272, allocations: 96 / 408.8 MB, free: 26.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.2272, allocations: 11.97 kB / 408.8 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2272, allocations: 0 / 408.8 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2273, allocations: 0 / 408.8 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.2274, allocations: 267.5 kB / 409.1 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.2274, allocations: 93 kB / 409.2 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2275, allocations: 4 kB / 409.2 MB, free: 26.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.2276, allocations: 0 / 409.2 MB, free: 26.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.2276, allocations: 4 kB / 409.2 MB, free: 26.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.2276, allocations: 0 / 409.2 MB, free: 26.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.099e-05/0.2276, allocations: 115.8 kB / 409.3 MB, free: 26.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2277, allocations: 0 / 409.3 MB, free: 26.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.2279, allocations: 12 kB / 409.3 MB, free: 26.22 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 6.391e-05/0.2279, allocations: 103.2 kB / 409.4 MB, free: 26.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.2281, allocations: 44.09 kB / 409.4 MB, free: 26.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2281, allocations: 4.062 kB / 409.5 MB, free: 26.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.2281, allocations: 12 kB / 409.5 MB, free: 26.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.2285, allocations: 35.83 kB / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.2287, allocations: 198.5 kB / 409.7 MB, free: 25.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.2289, allocations: 0.6965 MB / 410.4 MB, free: 25.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.2289, allocations: 8 kB / 410.4 MB, free: 25.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.2289, allocations: 7.438 kB / 410.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2289, allocations: 0 / 410.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of Templates: time 0.001922/0.2308, allocations: 0.5341 MB / 410.9 MB, free: 24.52 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches