Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.92 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.132, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003619/0.1357, allocations: 1.496 MB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1368, allocations: 476.4 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.1369, allocations: 7.938 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.137, allocations: 4 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1371, allocations: 11.81 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1375, allocations: 31.91 kB / 360.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.1376, allocations: 31.92 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1377, allocations: 11.98 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1379, allocations: 31.84 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.1379, allocations: 11.94 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1379, allocations: 0 / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.786e-05/0.138, allocations: 15.98 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.138, allocations: 7.938 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.1381, allocations: 11.94 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.1382, allocations: 47.81 kB / 361.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1382, allocations: 0 / 361.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1382, allocations: 0 / 361.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1383, allocations: 0 / 361.1 MB, free: 11.13 MB / 302.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.0005219/0.1388, allocations: 351.3 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1388, allocations: 8.031 kB / 361.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.139, allocations: 20.83 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1393, allocations: 180.2 kB / 361.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1393, allocations: 4.375 kB / 361.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.1393, allocations: 4.375 kB / 361.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.1397, allocations: 127.5 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1397, allocations: 0 / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1397, allocations: 0 / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1398, allocations: 4 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.1399, allocations: 23.92 kB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.1401, allocations: 157.7 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.1402, allocations: 62.48 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.1403, allocations: 28.92 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1403, allocations: 0 / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1404, allocations: 34.5 kB / 362.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1404, allocations: 0 / 362.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002874/0.1407, allocations: 73.61 kB / 362.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.1407, allocations: 55.41 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1409, allocations: 117.8 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.141, allocations: 25.7 kB / 362.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.141, allocations: 92.12 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.1411, allocations: 0 / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.1411, allocations: 17.72 kB / 362.4 MB, free: 9.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.1413, allocations: 310.8 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.1413, allocations: 4 kB / 362.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1414, allocations: 31.61 kB / 362.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/0.1414, allocations: 39.38 kB / 362.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1415, allocations: 0 / 362.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.448e-05/0.1415, allocations: 65.66 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1416, allocations: 11.94 kB / 362.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1416, allocations: 0 / 362.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1416, allocations: 3.984 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.1417, allocations: 8 kB / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1417, allocations: 0 / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.1417, allocations: 0 / 362.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.1417, allocations: 4 kB / 362.9 MB, free: 9.051 MB / 302.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 9.154e-05/0.1418, allocations: 121.8 kB / 363 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.1419, allocations: 69.59 kB / 363.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.142, allocations: 3.906 kB / 363.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.142, allocations: 3.984 kB / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.142, allocations: 0 / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.142, allocations: 0 / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1422, allocations: 165.6 kB / 363.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1422, allocations: 384 / 363.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.1423, allocations: 7.984 kB / 363.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1423, allocations: 3.938 kB / 363.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1423, allocations: 4 kB / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1423, allocations: 7.938 kB / 363.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1423, allocations: 0 / 363.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.1425, allocations: 85.05 kB / 363.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.1425, allocations: 92.94 kB / 363.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1426, allocations: 4 kB / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.1426, allocations: 4 kB / 363.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-06/0.1426, allocations: 0 / 363.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1426, allocations: 7.938 kB / 363.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.849e-05/0.1427, allocations: 91.27 kB / 363.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1427, allocations: 0 / 363.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.1429, allocations: 4 kB / 363.6 MB, free: 8.277 MB / 302.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.0001251/0.143, allocations: 99.19 kB / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.1431, allocations: 27.92 kB / 363.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1432, allocations: 4 kB / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.1432, allocations: 4.25 kB / 363.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1434, allocations: 23.98 kB / 363.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.1437, allocations: 134.6 kB / 363.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.144, allocations: 0.6846 MB / 364.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.3e-05/0.144, allocations: 0 / 364.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.1441, allocations: 11.44 kB / 364.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of SimCode: time 1.874e-06/0.1441, allocations: 0 / 364.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of Templates: time 0.002733/0.1468, allocations: 367.2 kB / 364.9 MB, free: 6.879 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches