Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.002422/0.002423, allocations: 198.9 kB / 18.08 MB, free: 5.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.986/1.986, allocations: 222.9 MB / 241.8 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 46.91 kB / 300.6 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1721, allocations: 49.45 MB / 350.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.005331/0.1775, allocations: 1.616 MB / 351.7 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.179, allocations: 0.5066 MB / 352.2 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.1792, allocations: 3.938 kB / 352.2 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.496e-05/0.1794, allocations: 0 / 352.2 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1796, allocations: 7.938 kB / 352.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.1801, allocations: 52.44 kB / 352.3 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1802, allocations: 43.86 kB / 352.3 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.1804, allocations: 20.17 kB / 352.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1805, allocations: 15.88 kB / 352.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1806, allocations: 23.84 kB / 352.4 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.1807, allocations: 4 kB / 352.4 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1808, allocations: 4 kB / 352.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.1809, allocations: 15.92 kB / 352.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.181, allocations: 23.81 kB / 352.4 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1812, allocations: 39.92 kB / 352.4 MB, free: 2.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1812, allocations: 0 / 352.4 MB, free: 2.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1812, allocations: 4 kB / 352.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1812, allocations: 0 / 352.4 MB, free: 2.469 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009601/0.1822, allocations: 371.4 kB / 352.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.441e-05/0.1823, allocations: 15.97 kB / 352.8 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.1823, allocations: 12.84 kB / 352.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.1829, allocations: 196 kB / 353 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1829, allocations: 8.375 kB / 353 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1829, allocations: 384 / 353 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.1834, allocations: 122 kB / 353.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.1835, allocations: 0 / 353.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.1835, allocations: 4 kB / 353.2 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.1835, allocations: 4 kB / 353.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1837, allocations: 23.92 kB / 353.2 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.1843, allocations: 274.6 kB / 353.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1844, allocations: 67.78 kB / 353.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1846, allocations: 38.62 kB / 353.6 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.1846, allocations: 0 / 353.6 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.1847, allocations: 38.5 kB / 353.6 MB, free: 1.109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.1847, allocations: 0 / 353.6 MB, free: 1.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004418/0.1851, allocations: 85.8 kB / 353.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.1853, allocations: 110.8 kB / 353.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1855, allocations: 140.6 kB / 353.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1855, allocations: 25.7 kB / 354 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/0.1856, allocations: 96.06 kB / 354 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.1857, allocations: 3.906 kB / 354 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.1857, allocations: 17.72 kB / 354.1 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.186, allocations: 330.9 kB / 354.4 MB, free: 260 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.1861, allocations: 4 kB / 354.4 MB, free: 256 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.1861, allocations: 39.36 kB / 354.4 MB, free: 204 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.1865, allocations: 43.42 kB / 354.5 MB, free: 148 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1865, allocations: 3.938 kB / 354.5 MB, free: 144 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002078/0.1867, allocations: 69.61 kB / 354.5 MB, free: 68 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.1868, allocations: 8 kB / 354.6 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1868, allocations: 0 / 354.6 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.1868, allocations: 0 / 354.6 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1869, allocations: 12.12 kB / 354.6 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1869, allocations: 3.984 kB / 354.6 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.187, allocations: 11.89 kB / 354.6 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1871, allocations: 7.938 kB / 354.6 MB, free: 24 kB / 286.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: 0 () * 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.0002203/0.1873, allocations: 121.7 kB / 354.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.1874, allocations: 53.67 kB / 354.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.1875, allocations: 11.88 kB / 354.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1875, allocations: 4 kB / 354.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1875, allocations: 4.062 kB / 354.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1875, allocations: 0 / 354.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.1879, allocations: 181.5 kB / 355 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1879, allocations: 0 / 355 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-05/0.188, allocations: 11.94 kB / 355 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.188, allocations: 0 / 355 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1881, allocations: 0 / 355 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1881, allocations: 7.984 kB / 355 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1881, allocations: 0 / 355 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.1884, allocations: 181.1 kB / 355.2 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.1885, allocations: 89 kB / 355.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1885, allocations: 8 kB / 355.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1887, allocations: 4 kB / 355.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1887, allocations: 4 kB / 355.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.1887, allocations: 0 / 355.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1889, allocations: 119.2 kB / 355.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1889, allocations: 0 / 355.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.1893, allocations: 4 kB / 355.4 MB, free: 15.12 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001693/0.1895, allocations: 99.19 kB / 355.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.1898, allocations: 39.91 kB / 355.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1898, allocations: 0 / 355.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.003e-05/0.1898, allocations: 8.25 kB / 355.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000656/0.1905, allocations: 31.89 kB / 355.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.1911, allocations: 238.2 kB / 355.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.1917, allocations: 0.6926 MB / 356.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.1917, allocations: 11.44 kB / 356.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1918, allocations: 0 / 356.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of Templates: time 0.004036/0.1958, allocations: 0.8029 MB / 357.3 MB, free: 13.14 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches