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.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 118.4 kB / 18.45 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 207.8 kB / 19.41 MB, free: 3.688 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.379/1.379, allocations: 227.7 MB / 247.9 MB, free: 10.19 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.001834/0.001834, allocations: 67.89 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2337, allocations: 50.53 MB / 410.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002682/0.2363, allocations: 1.568 MB / 411.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003507/0.2367, allocations: 135.5 kB / 411.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.2368, allocations: 4 kB / 411.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/0.2368, allocations: 3.938 kB / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2369, allocations: 7.922 kB / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.2371, allocations: 43.84 kB / 412 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.249e-05/0.2372, allocations: 27.92 kB / 412 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.2373, allocations: 11.98 kB / 412 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.2373, allocations: 15.88 kB / 412 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.2374, allocations: 15.92 kB / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2374, allocations: 4 kB / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-06/0.2374, allocations: 0 / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.2375, allocations: 23.91 kB / 412.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.2375, allocations: 23.81 kB / 412.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.892e-05/0.2376, allocations: 39.62 kB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2376, allocations: 4 kB / 412.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2376, allocations: 4 kB / 412.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.2376, allocations: 3.938 kB / 412.1 MB, free: 15.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000447/0.2381, allocations: 363.2 kB / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2381, allocations: 12.02 kB / 412.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.2381, allocations: 8.891 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.2384, allocations: 192.1 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2384, allocations: 8.375 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2384, allocations: 8.375 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.2387, allocations: 109.6 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2387, allocations: 192 / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2387, allocations: 7.875 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2387, allocations: 0 / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.2388, allocations: 23.98 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.2391, allocations: 261.8 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.2393, allocations: 138.2 kB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.2394, allocations: 29.77 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2394, allocations: 0 / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2394, allocations: 38.56 kB / 413.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2394, allocations: 0 / 413.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002567/0.2397, allocations: 85.67 kB / 413.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.2398, allocations: 81.23 kB / 413.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2399, allocations: 137.4 kB / 413.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.2399, allocations: 25.7 kB / 413.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.2399, allocations: 88.14 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.24, allocations: 3.953 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.24, allocations: 21.7 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2401, allocations: 314.8 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.2402, allocations: 7.984 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.2402, allocations: 39.44 kB / 414.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.365e-05/0.2403, allocations: 47.36 kB / 414.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2403, allocations: 4 kB / 414.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000127/0.2404, allocations: 69.48 kB / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2404, allocations: 8 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2405, allocations: 0 / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2405, allocations: 0 / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.2405, allocations: 8 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2405, allocations: 4 kB / 414.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.2406, allocations: 15.88 kB / 414.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2406, allocations: 8.125 kB / 414.3 MB, free: 13.05 MB / 334.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 8.42e-05/0.2407, allocations: 121.7 kB / 414.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.2407, allocations: 53.58 kB / 414.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.2408, allocations: 8.25 kB / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2408, allocations: 0 / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.2408, allocations: 0 / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.2408, allocations: 0 / 414.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.2409, allocations: 173.6 kB / 414.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2409, allocations: 3.938 kB / 414.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.241, allocations: 11.98 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.241, allocations: 4 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.241, allocations: 0 / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.241, allocations: 0 / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.241, allocations: 0 / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.2412, allocations: 176.2 kB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.2412, allocations: 85.09 kB / 414.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.2413, allocations: 4 kB / 414.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.2413, allocations: 8 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.2413, allocations: 0 / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2413, allocations: 0 / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.193e-05/0.2414, allocations: 107.2 kB / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2414, allocations: 0 / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000218/0.2416, allocations: 4 kB / 415 MB, free: 12.2 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 (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.0001046/0.2417, allocations: 99.19 kB / 415.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.2419, allocations: 35.92 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2419, allocations: 0 / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.22e-05/0.2419, allocations: 7.984 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.2422, allocations: 31.88 kB / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.2425, allocations: 150.3 kB / 415.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2428, allocations: 0.6927 MB / 416 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.826e-05/0.2428, allocations: 11.98 kB / 416 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.2429, allocations: 7.438 kB / 416 MB, free: 11.1 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2429, allocations: 0 / 416 MB, free: 11.1 MB / 334.1 MB Notification: Performance of Templates: time 0.002722/0.2456, allocations: 0.4945 MB / 416.5 MB, free: 10.61 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches