Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 175.7 kB / 17.03 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 241 MB, free: 10.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008372, allocations: 91.75 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002387/0.000239, allocations: 4 kB / 351.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2063, allocations: 50.41 MB / 402.2 MB, free: 32.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001283/0.2076, allocations: 1.245 MB / 403.5 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005616/0.2082, allocations: 449 kB / 403.9 MB, free: 30.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.2083, allocations: 0 / 403.9 MB, free: 30.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.2083, allocations: 3.938 kB / 403.9 MB, free: 30.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.2084, allocations: 13.98 kB / 403.9 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.2086, allocations: 31.91 kB / 403.9 MB, free: 30.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.2087, allocations: 35.86 kB / 404 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.2088, allocations: 13.41 kB / 404 MB, free: 30.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.428e-05/0.2089, allocations: 15.94 kB / 404 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.2089, allocations: 15.86 kB / 404 MB, free: 30.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.2089, allocations: 0 / 404 MB, free: 30.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.209, allocations: 5.031 kB / 404 MB, free: 30.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.209, allocations: 7.984 kB / 404 MB, free: 30.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.209, allocations: 37.58 kB / 404.1 MB, free: 30.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.022e-05/0.2091, allocations: 39.88 kB / 404.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2091, allocations: 0 / 404.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2091, allocations: 3.938 kB / 404.1 MB, free: 30.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.2091, allocations: 0 / 404.1 MB, free: 30.64 MB / 298.7 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.0003248/0.2094, allocations: 352.7 kB / 404.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2095, allocations: 12.03 kB / 404.5 MB, free: 30.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.2095, allocations: 11.86 kB / 404.5 MB, free: 30.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.2096, allocations: 190.8 kB / 404.7 MB, free: 30 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2097, allocations: 1.094 kB / 404.7 MB, free: 30 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.2097, allocations: 3.984 kB / 404.7 MB, free: 29.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2099, allocations: 98.05 kB / 404.8 MB, free: 29.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2099, allocations: 3.938 kB / 404.8 MB, free: 29.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2099, allocations: 0 / 404.8 MB, free: 29.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2099, allocations: 4 kB / 404.8 MB, free: 29.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.477e-05/0.21, allocations: 23.94 kB / 404.8 MB, free: 29.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.2102, allocations: 261.7 kB / 405.1 MB, free: 29.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.591e-05/0.2103, allocations: 45.16 kB / 405.1 MB, free: 29.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.2104, allocations: 25.77 kB / 405.1 MB, free: 29.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.2104, allocations: 4 kB / 405.1 MB, free: 29.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.2104, allocations: 34.56 kB / 405.2 MB, free: 29.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2104, allocations: 0 / 405.2 MB, free: 29.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000206/0.2106, allocations: 69.56 kB / 405.2 MB, free: 29.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2107, allocations: 89.3 kB / 405.3 MB, free: 29.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.2107, allocations: 140.7 kB / 405.5 MB, free: 29.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.2108, allocations: 29.7 kB / 405.5 MB, free: 29.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.2108, allocations: 84.12 kB / 405.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.2108, allocations: 4 kB / 405.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.2108, allocations: 0 / 405.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.924e-05/0.2109, allocations: 318.8 kB / 405.9 MB, free: 28.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.2109, allocations: 15.98 kB / 405.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.211, allocations: 17.72 kB / 405.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.211, allocations: 15.98 kB / 405.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.211, allocations: 0 / 405.9 MB, free: 28.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000101/0.2111, allocations: 65.59 kB / 406 MB, free: 28.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2111, allocations: 8 kB / 406 MB, free: 28.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2111, allocations: 0 / 406 MB, free: 28.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2112, allocations: 3.953 kB / 406 MB, free: 28.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.2112, allocations: 7.984 kB / 406 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2112, allocations: 4 kB / 406 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.2113, allocations: 0 / 406 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2113, allocations: 4 kB / 406 MB, free: 28.48 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.2114, allocations: 117.9 kB / 406.1 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.2114, allocations: 49.56 kB / 406.2 MB, free: 28.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.2114, allocations: 3.875 kB / 406.2 MB, free: 28.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2114, allocations: 4 kB / 406.2 MB, free: 28.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2115, allocations: 3.953 kB / 406.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2115, allocations: 0 / 406.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.2116, allocations: 173.5 kB / 406.4 MB, free: 28.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2116, allocations: 0 / 406.4 MB, free: 28.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.2116, allocations: 11.98 kB / 406.4 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2116, allocations: 4.031 kB / 406.4 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.2117, allocations: 0 / 406.4 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2117, allocations: 0 / 406.4 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2117, allocations: 0 / 406.4 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.2118, allocations: 168.3 kB / 406.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.2119, allocations: 92.94 kB / 406.6 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.2119, allocations: 0 / 406.6 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.212, allocations: 8 kB / 406.6 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.212, allocations: 4 kB / 406.6 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.212, allocations: 4 kB / 406.6 MB, free: 27.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.212, allocations: 111.2 kB / 406.8 MB, free: 27.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2121, allocations: 0 / 406.8 MB, free: 27.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.2123, allocations: 4 kB / 406.8 MB, free: 27.62 MB / 298.7 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.001e-05/0.2124, allocations: 99.28 kB / 406.9 MB, free: 27.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.2125, allocations: 27.92 kB / 406.9 MB, free: 27.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2125, allocations: 0 / 406.9 MB, free: 27.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.2125, allocations: 15.92 kB / 406.9 MB, free: 27.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2128, allocations: 21.12 kB / 406.9 MB, free: 27.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.2131, allocations: 203.3 kB / 407.1 MB, free: 27.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.2132, allocations: 0.6887 MB / 407.8 MB, free: 26.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.2132, allocations: 7.438 kB / 407.8 MB, free: 26.5 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2132, allocations: 4 kB / 407.8 MB, free: 26.49 MB / 298.7 MB Notification: Performance of Templates: time 0.001528/0.2148, allocations: 0.6768 MB / 408.5 MB, free: 25.82 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches