Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001821, 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.001864/0.001864, 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 2.229/2.229, allocations: 222.9 MB / 241.8 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 42 kB / 300.6 MB, free: 6.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1737, allocations: 49.46 MB / 350.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00621/0.18, allocations: 1.55 MB / 351.6 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000615/0.1807, allocations: 143.5 kB / 351.7 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1809, allocations: 0 / 351.7 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.925e-05/0.181, allocations: 0 / 351.7 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.1812, allocations: 11.92 kB / 351.8 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.1817, allocations: 29.92 kB / 351.8 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1818, allocations: 27.97 kB / 351.8 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.182, allocations: 7.938 kB / 351.8 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.182, allocations: 19.92 kB / 351.8 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.1821, allocations: 7.938 kB / 351.9 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.1821, allocations: 4 kB / 351.9 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.1822, allocations: 0 / 351.9 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.778e-05/0.1823, allocations: 15.92 kB / 351.9 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.1823, allocations: 15.88 kB / 351.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1824, allocations: 23.95 kB / 351.9 MB, free: 2.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1825, allocations: 0 / 351.9 MB, free: 2.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.84e-06/0.1825, allocations: 0 / 351.9 MB, free: 2.957 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1825, allocations: 3.938 kB / 351.9 MB, free: 2.953 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007439/0.1833, allocations: 367.5 kB / 352.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.972e-05/0.1833, allocations: 8.031 kB / 352.3 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.1834, allocations: 8.844 kB / 352.3 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.1838, allocations: 188.2 kB / 352.5 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1838, allocations: 384 / 352.5 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.1838, allocations: 4.375 kB / 352.5 MB, free: 2.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.1842, allocations: 93.61 kB / 352.6 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1842, allocations: 192 / 352.6 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1842, allocations: 3.938 kB / 352.6 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1842, allocations: 0 / 352.6 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.1843, allocations: 11.94 kB / 352.6 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.1848, allocations: 261.8 kB / 352.8 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.185, allocations: 45.09 kB / 352.9 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.185, allocations: 17.78 kB / 352.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1851, allocations: 0 / 352.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.1851, allocations: 34.56 kB / 352.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.1851, allocations: 0 / 352.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.1855, allocations: 65.52 kB / 353 MB, free: 1.668 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.1856, allocations: 77.11 kB / 353.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1858, allocations: 129.8 kB / 353.2 MB, free: 1.438 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1858, allocations: 25.7 kB / 353.2 MB, free: 1.406 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.1859, allocations: 88.14 kB / 353.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.1859, allocations: 0 / 353.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.186, allocations: 21.62 kB / 353.3 MB, free: 1.289 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1862, allocations: 319.1 kB / 353.6 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.1863, allocations: 11.88 kB / 353.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.028e-05/0.1863, allocations: 17.72 kB / 353.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.814e-05/0.1864, allocations: 21.7 kB / 353.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1864, allocations: 0 / 353.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001573/0.1866, allocations: 57.62 kB / 353.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1867, allocations: 4 kB / 353.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1867, allocations: 0 / 353.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.1867, allocations: 4 kB / 353.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.24e-05/0.1867, allocations: 0 / 353.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1867, allocations: 0 / 353.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.1868, allocations: 0 / 353.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1868, allocations: 4 kB / 353.8 MB, free: 0.832 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001488/0.187, allocations: 125.8 kB / 353.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.1871, allocations: 37.55 kB / 353.9 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.1871, allocations: 11.53 kB / 353.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1872, allocations: 0 / 353.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.1872, allocations: 4 kB / 353.9 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1872, allocations: 7.922 kB / 353.9 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.1875, allocations: 169.6 kB / 354.1 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1875, allocations: 0 / 354.1 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-06/0.1875, allocations: 0 / 354.1 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1875, allocations: 0 / 354.1 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1876, allocations: 4.031 kB / 354.1 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1876, allocations: 4 kB / 354.1 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1876, allocations: 0 / 354.1 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.1878, allocations: 160.2 kB / 354.3 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.1879, allocations: 85.09 kB / 354.4 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.188, allocations: 0 / 354.4 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1881, allocations: 12.02 kB / 354.4 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.1882, allocations: 4 kB / 354.4 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1882, allocations: 0 / 354.4 MB, free: 116 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1883, allocations: 102.3 kB / 354.5 MB, free: 16 kB / 286.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1883, allocations: 0 / 354.5 MB, free: 16 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004306/0.1888, allocations: 4 kB / 354.5 MB, free: 12 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002038/0.189, allocations: 103.2 kB / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.1892, allocations: 20.05 kB / 354.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1892, allocations: 3.938 kB / 354.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.037e-05/0.1893, allocations: 11.94 kB / 354.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.1899, allocations: 19.95 kB / 354.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.1905, allocations: 182 kB / 354.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.191, allocations: 0.6848 MB / 355.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.191, allocations: 7.438 kB / 355.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.191, allocations: 0 / 355.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Templates: time 0.003215/0.1942, allocations: 0.6034 MB / 356.1 MB, free: 14.31 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches