Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.86 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2477, allocations: 50.53 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002718/0.2504, allocations: 1.58 MB / 411.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000937/0.2513, allocations: 0.5182 MB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.2514, allocations: 0 / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.2515, allocations: 3.938 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.2516, allocations: 19.86 kB / 412.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.2518, allocations: 58.81 kB / 412.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.756e-05/0.2519, allocations: 39.84 kB / 412.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.252, allocations: 8 kB / 412.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2521, allocations: 31.86 kB / 412.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.297e-05/0.2522, allocations: 19.86 kB / 412.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2522, allocations: 4 kB / 412.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.2522, allocations: 7.984 kB / 412.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.2523, allocations: 8 kB / 412.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.2523, allocations: 27.8 kB / 412.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.2525, allocations: 55.61 kB / 412.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2525, allocations: 3.938 kB / 412.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2525, allocations: 0 / 412.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2525, allocations: 0 / 412.6 MB, free: 15.07 MB / 334.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.0004856/0.253, allocations: 371.1 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.253, allocations: 8.031 kB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.2531, allocations: 20.88 kB / 413 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.2534, allocations: 196.2 kB / 413.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.2534, allocations: 4.375 kB / 413.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.2534, allocations: 384 / 413.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.2536, allocations: 105.3 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2536, allocations: 0 / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2536, allocations: 0 / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2536, allocations: 4 kB / 413.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.678e-05/0.2537, allocations: 19.97 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.254, allocations: 265.7 kB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.2541, allocations: 41.2 kB / 413.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.2542, allocations: 25.78 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.2542, allocations: 7.922 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2542, allocations: 34.56 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2542, allocations: 0 / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002321/0.2544, allocations: 65.58 kB / 413.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.2545, allocations: 85.34 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2546, allocations: 136.7 kB / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2546, allocations: 25.7 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.2547, allocations: 92.14 kB / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.2547, allocations: 7.922 kB / 414.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.2548, allocations: 17.67 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2549, allocations: 314.8 kB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.2549, allocations: 15.98 kB / 414.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.255, allocations: 13.72 kB / 414.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.297e-05/0.2551, allocations: 37.58 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2551, allocations: 0 / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001236/0.2552, allocations: 57.73 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2552, allocations: 4 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2552, allocations: 0 / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2552, allocations: 7.938 kB / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.2553, allocations: 4 kB / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2553, allocations: 0 / 414.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.2553, allocations: 8 kB / 414.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2553, allocations: 3.984 kB / 414.5 MB, free: 12.84 MB / 334.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.528e-05/0.2554, allocations: 121.7 kB / 414.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.2555, allocations: 45.72 kB / 414.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.2555, allocations: 11.81 kB / 414.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2555, allocations: 4 kB / 414.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2555, allocations: 0 / 414.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.2555, allocations: 0 / 414.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.2557, allocations: 173.6 kB / 414.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2557, allocations: 4 kB / 414.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.2558, allocations: 4 kB / 414.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2558, allocations: 3.938 kB / 414.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2558, allocations: 0 / 414.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2558, allocations: 11.95 kB / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2558, allocations: 4 kB / 414.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.256, allocations: 156.3 kB / 415.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.256, allocations: 89.05 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.256, allocations: 4 kB / 415.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.2561, allocations: 8.031 kB / 415.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.2561, allocations: 3.984 kB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.2561, allocations: 4 kB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.334e-05/0.2562, allocations: 103.3 kB / 415.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2562, allocations: 0 / 415.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.2564, allocations: 7.938 kB / 415.3 MB, free: 11.98 MB / 334.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 (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.0001125/0.2565, allocations: 107.1 kB / 415.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.2567, allocations: 27.98 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2567, allocations: 0 / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.2567, allocations: 4 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.257, allocations: 21.45 kB / 415.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.2573, allocations: 159.4 kB / 415.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.2577, allocations: 0.6926 MB / 416.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.006e-05/0.2577, allocations: 4 kB / 416.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.2577, allocations: 7.438 kB / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2577, allocations: 0 / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Templates: time 0.002795/0.2605, allocations: 499 kB / 416.8 MB, free: 10.42 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches