Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 105.2 kB / 17.16 MB, free: 6.082 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.002084/0.002085, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.177/2.177, allocations: 222.9 MB / 241.8 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 51.58 kB / 300.6 MB, free: 6.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.179, allocations: 49.44 MB / 350.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.007442/0.1866, allocations: 1.62 MB / 351.7 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.188, allocations: 478.8 kB / 352.1 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.1882, allocations: 0 / 352.1 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.242e-05/0.1884, allocations: 3.938 kB / 352.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.1886, allocations: 11.92 kB / 352.2 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.189, allocations: 49.7 kB / 352.2 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.1892, allocations: 39.86 kB / 352.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1894, allocations: 15.98 kB / 352.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1895, allocations: 23.86 kB / 352.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.1896, allocations: 19.86 kB / 352.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.1896, allocations: 4 kB / 352.3 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.769e-05/0.1896, allocations: 0 / 352.3 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.1897, allocations: 15.92 kB / 352.3 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.615e-05/0.1898, allocations: 19.81 kB / 352.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.19, allocations: 47.92 kB / 352.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.19, allocations: 0 / 352.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.19, allocations: 0 / 352.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.19, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007682/0.1908, allocations: 371.5 kB / 352.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.1909, allocations: 12.03 kB / 352.8 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.1909, allocations: 8.844 kB / 352.8 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1912, allocations: 188.2 kB / 353 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1912, allocations: 8.312 kB / 353 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1913, allocations: 8.375 kB / 353 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.1917, allocations: 117.3 kB / 353.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1918, allocations: 0 / 353.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1918, allocations: 0 / 353.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1918, allocations: 0 / 353.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.192, allocations: 23.98 kB / 353.1 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.1925, allocations: 269.6 kB / 353.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.1928, allocations: 138.3 kB / 353.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1929, allocations: 33.72 kB / 353.5 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.193, allocations: 3.984 kB / 353.6 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.193, allocations: 34.56 kB / 353.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.1931, allocations: 0 / 353.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004226/0.1935, allocations: 77.52 kB / 353.7 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.1936, allocations: 85.23 kB / 353.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.1938, allocations: 141.8 kB / 353.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1939, allocations: 25.7 kB / 353.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.1939, allocations: 96.06 kB / 354 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.194, allocations: 0 / 354 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.1941, allocations: 25.56 kB / 354 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1943, allocations: 322.8 kB / 354.3 MB, free: 260 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.1943, allocations: 12 kB / 354.4 MB, free: 248 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.063e-05/0.1944, allocations: 31.42 kB / 354.4 MB, free: 204 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.1946, allocations: 51.36 kB / 354.4 MB, free: 140 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.1946, allocations: 0 / 354.4 MB, free: 140 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002328/0.1949, allocations: 69.55 kB / 354.5 MB, free: 64 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.1949, allocations: 8 kB / 354.5 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1949, allocations: 0 / 354.5 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.195, allocations: 0 / 354.5 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1951, allocations: 11.98 kB / 354.5 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1951, allocations: 4 kB / 354.5 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.1952, allocations: 8.406 kB / 354.5 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1953, allocations: 4 kB / 354.5 MB, free: 28 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.0002314/0.1955, allocations: 117.8 kB / 354.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.1957, allocations: 57.52 kB / 354.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.1957, allocations: 12.25 kB / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1957, allocations: 0 / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.1958, allocations: 3.984 kB / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1958, allocations: 0 / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.1961, allocations: 173.6 kB / 354.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1961, allocations: 4 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.1962, allocations: 8 kB / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1962, allocations: 0 / 354.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1962, allocations: 3.984 kB / 354.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1962, allocations: 0 / 354.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1963, allocations: 4 kB / 354.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.1965, allocations: 176.2 kB / 355.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.1966, allocations: 93 kB / 355.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1967, allocations: 4 kB / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1968, allocations: 0 / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.1969, allocations: 4 kB / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1969, allocations: 3.938 kB / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.197, allocations: 110.4 kB / 355.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.197, allocations: 0 / 355.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004172/0.1975, allocations: 8 kB / 355.3 MB, free: 15.15 MB / 302.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: 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.0001817/0.1976, allocations: 103.2 kB / 355.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1979, allocations: 31.91 kB / 355.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.1979, allocations: 0 / 355.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.735e-05/0.198, allocations: 12 kB / 355.4 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006451/0.1987, allocations: 31.83 kB / 355.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.1993, allocations: 226.3 kB / 355.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.1998, allocations: 0.6887 MB / 356.4 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.1998, allocations: 11.44 kB / 356.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1999, allocations: 0 / 356.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Templates: time 0.003707/0.2036, allocations: 0.7192 MB / 357.1 MB, free: 13.26 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches