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.TimeBasedSine.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, allocations: 115.5 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 214.8 kB / 19.41 MB, free: 3.66 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.398/1.398, allocations: 227.7 MB / 247.9 MB, free: 10.23 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.001905/0.001905, allocations: 71.89 kB / 359.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.239, allocations: 50.54 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002614/0.2416, allocations: 1.507 MB / 411.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.2424, allocations: 474.8 kB / 412.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.2424, allocations: 0 / 412.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.2425, allocations: 3.938 kB / 412.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.2425, allocations: 3.938 kB / 412.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.2428, allocations: 39.83 kB / 412.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.008e-05/0.2429, allocations: 35.92 kB / 412.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.042e-05/0.243, allocations: 12 kB / 412.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.2431, allocations: 31.84 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.226e-05/0.2431, allocations: 15.92 kB / 412.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2431, allocations: 4 kB / 412.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.328e-05/0.2432, allocations: 4 kB / 412.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2432, allocations: 7.938 kB / 412.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.2432, allocations: 15.92 kB / 412.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.2433, allocations: 47.61 kB / 412.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2433, allocations: 0 / 412.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2433, allocations: 4 kB / 412.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.2433, allocations: 0 / 412.4 MB, free: 15.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004426/0.2438, allocations: 343.4 kB / 412.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2438, allocations: 16.02 kB / 412.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.244, allocations: 16.88 kB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.2442, allocations: 184.2 kB / 413 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2442, allocations: 8.359 kB / 413 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.2442, allocations: 4.375 kB / 413 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.2445, allocations: 111.6 kB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2445, allocations: 4 kB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.2445, allocations: 0 / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2445, allocations: 0 / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.2446, allocations: 27.91 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.2448, allocations: 165.6 kB / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.245, allocations: 54.58 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.279e-05/0.245, allocations: 24.88 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.245, allocations: 0 / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.2451, allocations: 46.5 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.2451, allocations: 0 / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002391/0.2453, allocations: 77.59 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.2454, allocations: 51.41 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.352e-05/0.2455, allocations: 113.8 kB / 413.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2455, allocations: 29.64 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.2455, allocations: 84.14 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/0.2455, allocations: 0 / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.2456, allocations: 17.72 kB / 413.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2457, allocations: 322.8 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.2457, allocations: 0 / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.2458, allocations: 31.38 kB / 414.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.2458, allocations: 35.42 kB / 414.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2458, allocations: 0 / 414.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.09e-05/0.2459, allocations: 61.53 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2459, allocations: 8.312 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2459, allocations: 4 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2459, allocations: 3.984 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.674e-05/0.246, allocations: 4 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.246, allocations: 12.06 kB / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.246, allocations: 0 / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.246, allocations: 4 kB / 414.2 MB, free: 13.17 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 7.983e-05/0.2461, allocations: 113.8 kB / 414.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.2462, allocations: 65.55 kB / 414.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.2462, allocations: 11.91 kB / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2462, allocations: 0 / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2462, allocations: 0 / 414.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2462, allocations: 4 kB / 414.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.2464, allocations: 165.5 kB / 414.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2464, allocations: 0 / 414.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.2464, allocations: 8 kB / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.2464, allocations: 7.922 kB / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2464, allocations: 0 / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2464, allocations: 0 / 414.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2464, allocations: 4 kB / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.2466, allocations: 97.05 kB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.2467, allocations: 89 kB / 414.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2467, allocations: 0 / 414.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.2467, allocations: 3.984 kB / 414.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-06/0.2467, allocations: 0 / 414.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.2467, allocations: 4 kB / 414.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.117e-05/0.2468, allocations: 87.22 kB / 414.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2468, allocations: 0 / 414.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001843/0.247, allocations: 4 kB / 414.9 MB, free: 12.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001096/0.2471, allocations: 111.6 kB / 415 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.2472, allocations: 23.92 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2472, allocations: 0 / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2472, allocations: 0 / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2474, allocations: 20.12 kB / 415 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.2477, allocations: 134.9 kB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.248, allocations: 0.6884 MB / 415.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.632e-05/0.248, allocations: 4.281 kB / 415.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.248, allocations: 7.438 kB / 415.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.248, allocations: 0 / 415.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Templates: time 0.002525/0.2506, allocations: 370.7 kB / 416.2 MB, free: 11 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches