Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 115 kB / 16.63 MB, free: 6.812 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.001241/0.00124, allocations: 186 kB / 17.55 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 241.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 42.72 kB / 300.1 MB, free: 5.965 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1687, allocations: 49.45 MB / 349.6 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004549/0.1733, allocations: 1.937 MB / 351.5 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1756, allocations: 1.044 MB / 352.6 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.1758, allocations: 3.938 kB / 352.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009007/0.1768, allocations: 143.7 kB / 352.7 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.1772, allocations: 103.7 kB / 352.8 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.178, allocations: 194.5 kB / 353 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.1783, allocations: 179.5 kB / 353.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.1786, allocations: 25.55 kB / 353.2 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.1787, allocations: 83.58 kB / 353.3 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1789, allocations: 71.69 kB / 353.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.179, allocations: 8 kB / 353.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.1792, allocations: 55.97 kB / 353.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1793, allocations: 51.77 kB / 353.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.1794, allocations: 67.55 kB / 353.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.1797, allocations: 195.7 kB / 353.7 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1797, allocations: 0 / 353.7 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1797, allocations: 0 / 353.7 MB, free: 352 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1797, allocations: 0 / 353.7 MB, free: 352 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009274/0.1807, allocations: 0.5063 MB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.1807, allocations: 11.89 kB / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.1808, allocations: 28.75 kB / 354.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.1812, allocations: 262.8 kB / 354.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.1812, allocations: 12.3 kB / 354.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.1812, allocations: 12.06 kB / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.1816, allocations: 146.7 kB / 354.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1817, allocations: 0 / 354.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.1817, allocations: 3.984 kB / 354.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1817, allocations: 4 kB / 354.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1818, allocations: 31.92 kB / 354.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.1824, allocations: 362.4 kB / 355.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.1828, allocations: 111.8 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.974e-05/0.1829, allocations: 46.56 kB / 355.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1829, allocations: 8 kB / 355.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.1833, allocations: 71.45 kB / 355.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.1833, allocations: 0 / 355.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004731/0.1838, allocations: 141.3 kB / 355.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.1839, allocations: 136.8 kB / 355.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.1843, allocations: 264.9 kB / 355.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1843, allocations: 29.7 kB / 355.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1844, allocations: 120.1 kB / 356 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.1844, allocations: 19.73 kB / 356 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.1845, allocations: 25.72 kB / 356 MB, free: 13.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.1847, allocations: 334.8 kB / 356.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/0.1848, allocations: 27.98 kB / 356.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-05/0.1849, allocations: 65.94 kB / 356.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1851, allocations: 84.25 kB / 356.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1851, allocations: 0 / 356.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002146/0.1853, allocations: 105.7 kB / 356.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1854, allocations: 4 kB / 356.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.1854, allocations: 7.984 kB / 356.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1854, allocations: 0 / 356.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1855, allocations: 19.94 kB / 356.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1855, allocations: 8.062 kB / 356.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.1856, allocations: 11.84 kB / 356.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1856, allocations: 7.984 kB / 356.7 MB, free: 13.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001665/0.1858, allocations: 137.8 kB / 356.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.1859, allocations: 61.45 kB / 356.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.453e-05/0.186, allocations: 25.7 kB / 356.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.186, allocations: 0 / 356.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.186, allocations: 4 kB / 356.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.186, allocations: 8 kB / 356.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.1863, allocations: 221.5 kB / 357.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1863, allocations: 0 / 357.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.1864, allocations: 11.92 kB / 357.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1864, allocations: 7.938 kB / 357.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1864, allocations: 0 / 357.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1864, allocations: 0 / 357.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1864, allocations: 4 kB / 357.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.1867, allocations: 158.4 kB / 357.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1868, allocations: 104.9 kB / 357.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.1868, allocations: 8 kB / 357.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.005e-05/0.1869, allocations: 4 kB / 357.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.187, allocations: 7.984 kB / 357.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.187, allocations: 7.938 kB / 357.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.1872, allocations: 196.5 kB / 357.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1872, allocations: 4 kB / 357.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1875, allocations: 32 kB / 357.7 MB, free: 11.94 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0013/0.1888, allocations: 425.5 kB / 358.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.1891, allocations: 71.84 kB / 358.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1891, allocations: 0 / 358.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.1892, allocations: 24.25 kB / 358.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.1897, allocations: 78.11 kB / 358.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.1904, allocations: 345 kB / 358.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.1909, allocations: 0.728 MB / 359.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.351e-05/0.191, allocations: 25.53 kB / 359.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.1911, allocations: 19.42 kB / 359.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1911, allocations: 0 / 359.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Templates: time 0.006887/0.198, allocations: 2.35 MB / 361.7 MB, free: 8.016 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches