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.001259/0.001259, allocations: 105.2 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 66.67 kB / 306.3 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1332, allocations: 50.53 MB / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003142/0.1364, allocations: 1.566 MB / 358.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009292/0.1373, allocations: 466.8 kB / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.1374, allocations: 4 kB / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.1374, allocations: 3.938 kB / 358.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.1375, allocations: 4 kB / 358.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1378, allocations: 35.16 kB / 358.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.432e-05/0.1379, allocations: 31.92 kB / 358.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1381, allocations: 23.91 kB / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1382, allocations: 15.94 kB / 358.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.616e-05/0.1383, allocations: 19.86 kB / 359 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.1383, allocations: 0 / 359 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.802e-05/0.1384, allocations: 4 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.1384, allocations: 19.97 kB / 359 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.1384, allocations: 15.88 kB / 359 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1386, allocations: 35.89 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1386, allocations: 0 / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1386, allocations: 0 / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1386, allocations: 0 / 359 MB, free: 12.25 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.0004985/0.1391, allocations: 354.2 kB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1392, allocations: 12.03 kB / 359.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.1394, allocations: 20.83 kB / 359.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1396, allocations: 188.2 kB / 359.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.1396, allocations: 384 / 359.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1396, allocations: 4.375 kB / 359.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.14, allocations: 111.5 kB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.14, allocations: 0 / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.14, allocations: 11.98 kB / 359.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.14, allocations: 0 / 359.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.309e-05/0.1401, allocations: 19.98 kB / 359.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.1403, allocations: 157.7 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1404, allocations: 62.47 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.599e-05/0.1405, allocations: 28.86 kB / 360 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1405, allocations: 7.938 kB / 360 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.1406, allocations: 38.5 kB / 360 MB, free: 11.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1406, allocations: 0 / 360 MB, free: 11.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002443/0.1408, allocations: 77.59 kB / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1409, allocations: 51.41 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.141, allocations: 113.8 kB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.141, allocations: 25.7 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.141, allocations: 92.14 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/0.141, allocations: 0 / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.1411, allocations: 13.72 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1412, allocations: 318.8 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.249e-05/0.1412, allocations: 4 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.1412, allocations: 27.44 kB / 360.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.1413, allocations: 35.36 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1413, allocations: 0 / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.358e-05/0.1414, allocations: 61.48 kB / 360.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1414, allocations: 15.92 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1414, allocations: 4.125 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.1414, allocations: 0 / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/0.1415, allocations: 8 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1415, allocations: 0 / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.1415, allocations: 4 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-06/0.1415, allocations: 0 / 360.9 MB, free: 10.18 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 7.844e-05/0.1416, allocations: 113.8 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1417, allocations: 65.55 kB / 361 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.1418, allocations: 11.91 kB / 361 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1418, allocations: 0 / 361 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1418, allocations: 0 / 361 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1418, allocations: 0 / 361 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1419, allocations: 165.6 kB / 361.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1419, allocations: 0 / 361.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.142, allocations: 7.984 kB / 361.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.142, allocations: 8.312 kB / 361.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.142, allocations: 0 / 361.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.142, allocations: 3.938 kB / 361.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.142, allocations: 0 / 361.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1421, allocations: 97.05 kB / 361.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.1422, allocations: 89.33 kB / 361.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1422, allocations: 0 / 361.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.1423, allocations: 7.984 kB / 361.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-06/0.1423, allocations: 0 / 361.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1423, allocations: 7.922 kB / 361.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.091e-05/0.1424, allocations: 87.28 kB / 361.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1424, allocations: 4 kB / 361.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000181/0.1425, allocations: 4 kB / 361.5 MB, free: 9.406 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.0001122/0.1427, allocations: 107.2 kB / 361.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.1428, allocations: 27.92 kB / 361.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1428, allocations: 0 / 361.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1428, allocations: 0 / 361.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.143, allocations: 20.23 kB / 361.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.1433, allocations: 140.5 kB / 361.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1436, allocations: 0.6809 MB / 362.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.468e-05/0.1436, allocations: 4 kB / 362.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.1436, allocations: 11.42 kB / 362.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1436, allocations: 3.938 kB / 362.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of Templates: time 0.002359/0.146, allocations: 336.9 kB / 362.8 MB, free: 8.027 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","/var/lib/jenkins/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