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.001289/0.001289, allocations: 99.41 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002139/0.002139, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002995, allocations: 7.984 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001964/0.1399, allocations: 1.203 MB / 359.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007361/0.1407, allocations: 439.3 kB / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.1408, allocations: 7.938 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.1408, allocations: 0 / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.055e-05/0.1409, allocations: 3.984 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1412, allocations: 35.84 kB / 359.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.1413, allocations: 23.95 kB / 359.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1414, allocations: 11.98 kB / 359.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1415, allocations: 15.94 kB / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.1416, allocations: 11.92 kB / 359.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.1416, allocations: 3.938 kB / 359.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.066e-05/0.1416, allocations: 11.98 kB / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.1417, allocations: 7.938 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.1417, allocations: 29.7 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.934e-05/0.1418, allocations: 27.95 kB / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1418, allocations: 0 / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1418, allocations: 0 / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1418, allocations: 0 / 359.9 MB, free: 12.08 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.000477/0.1423, allocations: 350 kB / 360.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1424, allocations: 12.03 kB / 360.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.1425, allocations: 15.98 kB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1427, allocations: 178.8 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1427, allocations: 7.938 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1427, allocations: 4 kB / 360.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.1431, allocations: 127.2 kB / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1431, allocations: 4 kB / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.1431, allocations: 0 / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1431, allocations: 0 / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-05/0.1432, allocations: 23.98 kB / 360.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.1434, allocations: 161.7 kB / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1436, allocations: 66.62 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1436, allocations: 8.016 kB / 360.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1436, allocations: 30.56 kB / 360.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1436, allocations: 4 kB / 360.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002393/0.1439, allocations: 81.56 kB / 360.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.1439, allocations: 55.41 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.144, allocations: 109.8 kB / 361.1 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1441, allocations: 25.7 kB / 361.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.1441, allocations: 84.52 kB / 361.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.1441, allocations: 11.98 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-06/0.1441, allocations: 0 / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1443, allocations: 318.8 kB / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.1443, allocations: 7.938 kB / 361.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.1443, allocations: 27.42 kB / 361.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.139e-05/0.1443, allocations: 12 kB / 361.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1443, allocations: 0 / 361.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.095e-05/0.1444, allocations: 57.48 kB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1445, allocations: 4 kB / 361.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1445, allocations: 7.938 kB / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1445, allocations: 4 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.1445, allocations: 4 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.1446, allocations: 4 kB / 361.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.1446, allocations: 4.125 kB / 361.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.1446, allocations: 0 / 361.7 MB, free: 10.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/0.1447, allocations: 113.8 kB / 361.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.1448, allocations: 73.52 kB / 361.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.1448, allocations: 3.906 kB / 361.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1449, allocations: 7.891 kB / 361.9 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1449, allocations: 4 kB / 361.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1449, allocations: 0 / 361.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.145, allocations: 165.7 kB / 362 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.145, allocations: 0 / 362 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.1451, allocations: 11.98 kB / 362 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1451, allocations: 0 / 362 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1451, allocations: 4 kB / 362 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1451, allocations: 0 / 362 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1451, allocations: 3.953 kB / 362 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.1453, allocations: 97.05 kB / 362.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.1453, allocations: 81.02 kB / 362.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1454, allocations: 8 kB / 362.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.389e-05/0.1454, allocations: 3.984 kB / 362.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-06/0.1454, allocations: 0 / 362.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1454, allocations: 7.953 kB / 362.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.331e-05/0.1455, allocations: 83.28 kB / 362.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1455, allocations: 0 / 362.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.1457, allocations: 8.281 kB / 362.3 MB, free: 9.305 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 (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 0.0001204/0.1458, allocations: 103.5 kB / 362.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.146, allocations: 31.92 kB / 362.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.146, allocations: 3.938 kB / 362.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.146, allocations: 0 / 362.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.1462, allocations: 20.25 kB / 362.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.1464, allocations: 144.8 kB / 362.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1467, allocations: 0.7003 MB / 363.3 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.199e-05/0.1467, allocations: 0 / 363.3 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.1468, allocations: 7.438 kB / 363.3 MB, free: 8.238 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1468, allocations: 8 kB / 363.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of Templates: time 0.002148/0.1489, allocations: 308 kB / 363.6 MB, free: 7.93 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches