Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001725/0.001724, allocations: 117 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.39 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1756, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003531/0.1792, allocations: 1.501 MB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004991/0.1797, allocations: 139.5 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1798, allocations: 7.938 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.1799, allocations: 11.92 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.233e-05/0.18, allocations: 7.922 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1803, allocations: 39.89 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1804, allocations: 35.86 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.1806, allocations: 31.89 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.1806, allocations: 7.938 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.1807, allocations: 27.86 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1807, allocations: 4 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.1807, allocations: 4 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.1808, allocations: 11.98 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.1808, allocations: 23.8 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.181, allocations: 55.75 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.181, allocations: 4 kB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.181, allocations: 3.938 kB / 360.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.181, allocations: 0 / 360.8 MB, free: 11.4 MB / 302.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.000544/0.1816, allocations: 375.2 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.1816, allocations: 16.03 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.1817, allocations: 8.844 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.182, allocations: 200 kB / 361.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.182, allocations: 4.375 kB / 361.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.182, allocations: 4.375 kB / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1823, allocations: 114.5 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1823, allocations: 8.188 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1823, allocations: 3.938 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.1824, allocations: 4 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.1824, allocations: 23.98 kB / 361.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.1829, allocations: 369.8 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.183, allocations: 79.72 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.1831, allocations: 34.62 kB / 362 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1831, allocations: 4 kB / 362.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1832, allocations: 30.56 kB / 362.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 3.416e-06/0.1832, allocations: 4 kB / 362.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002967/0.1835, allocations: 97.42 kB / 362.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.1836, allocations: 111.2 kB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1837, allocations: 144.9 kB / 362.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1837, allocations: 25.7 kB / 362.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.1838, allocations: 84.14 kB / 362.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.1838, allocations: 7.906 kB / 362.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1839, allocations: 17.72 kB / 362.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1841, allocations: 322.8 kB / 362.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.1841, allocations: 7.984 kB / 362.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-05/0.1842, allocations: 43.38 kB / 362.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.281e-05/0.1843, allocations: 51.34 kB / 363 MB, free: 8.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1843, allocations: 4 kB / 363 MB, free: 8.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001354/0.1844, allocations: 77.45 kB / 363.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1844, allocations: 8 kB / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1845, allocations: 0 / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1845, allocations: 0 / 363.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.437e-05/0.1845, allocations: 4 kB / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1845, allocations: 0 / 363.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.1846, allocations: 4 kB / 363.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1846, allocations: 12 kB / 363.1 MB, free: 8.836 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.0001246/0.1847, allocations: 129.8 kB / 363.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.1848, allocations: 53.53 kB / 363.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.1849, allocations: 15.83 kB / 363.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.1849, allocations: 0 / 363.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.1849, allocations: 4 kB / 363.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1849, allocations: 0 / 363.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1852, allocations: 177.6 kB / 363.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1852, allocations: 4.031 kB / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-06/0.1852, allocations: 0 / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.1852, allocations: 4 kB / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1852, allocations: 0 / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1852, allocations: 0 / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1852, allocations: 0 / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1855, allocations: 267.5 kB / 363.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.1856, allocations: 85.09 kB / 363.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1856, allocations: 4 kB / 363.8 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.1857, allocations: 11.98 kB / 363.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.1857, allocations: 4 kB / 363.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1858, allocations: 0 / 363.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.229e-05/0.1858, allocations: 111.2 kB / 363.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1858, allocations: 0 / 363.9 MB, free: 7.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1861, allocations: 8 kB / 363.9 MB, free: 7.867 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.0001504/0.1863, allocations: 99.25 kB / 364 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.1864, allocations: 43.91 kB / 364.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1865, allocations: 0 / 364.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.1865, allocations: 11.94 kB / 364.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.187, allocations: 48.34 kB / 364.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1874, allocations: 179.2 kB / 364.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1877, allocations: 0.6885 MB / 365 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.1877, allocations: 4 kB / 365 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.1878, allocations: 11.44 kB / 365 MB, free: 6.734 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1878, allocations: 0 / 365 MB, free: 6.734 MB / 302.1 MB Notification: Performance of Templates: time 0.003464/0.1912, allocations: 0.62 MB / 365.6 MB, free: 6.125 MB / 302.1 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 -s cvode -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/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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches