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.001221/0.001222, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.3 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 61.31 kB / 306.9 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1301, allocations: 50.53 MB / 357.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.004151/0.1343, allocations: 1.566 MB / 359 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1355, allocations: 474.8 kB / 359.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/0.1356, allocations: 0 / 359.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.55e-05/0.1357, allocations: 3.938 kB / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.1358, allocations: 7.938 kB / 359.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1362, allocations: 31.97 kB / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.1363, allocations: 35.86 kB / 359.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1365, allocations: 7.984 kB / 359.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1367, allocations: 23.92 kB / 359.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.123e-05/0.1368, allocations: 15.92 kB / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1368, allocations: 3.938 kB / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.375e-05/0.1368, allocations: 4 kB / 359.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.1369, allocations: 8 kB / 359.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.1369, allocations: 27.84 kB / 359.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.137, allocations: 23.97 kB / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1371, allocations: 0 / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1371, allocations: 0 / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1371, allocations: 0 / 359.7 MB, free: 12.28 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.0005554/0.1376, allocations: 351.6 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1377, allocations: 8.031 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.1379, allocations: 16.83 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1381, allocations: 188.2 kB / 360.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1382, allocations: 384 / 360.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1382, allocations: 4.375 kB / 360.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.1386, allocations: 119.5 kB / 360.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1386, allocations: 0 / 360.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1386, allocations: 4 kB / 360.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1386, allocations: 4 kB / 360.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.857e-05/0.1387, allocations: 19.92 kB / 360.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.1389, allocations: 161.7 kB / 360.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1391, allocations: 54.55 kB / 360.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.1392, allocations: 24.92 kB / 360.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.1392, allocations: 11.94 kB / 360.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1393, allocations: 38.5 kB / 360.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 3.386e-06/0.1393, allocations: 3.984 kB / 360.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002633/0.1395, allocations: 73.61 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.1396, allocations: 51.41 kB / 360.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1397, allocations: 113.8 kB / 360.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1397, allocations: 25.7 kB / 360.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.1398, allocations: 92.12 kB / 361 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.619e-06/0.1398, allocations: 3.938 kB / 361 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.1399, allocations: 21.72 kB / 361 MB, free: 10.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.14, allocations: 314.8 kB / 361.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.14, allocations: 3.984 kB / 361.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.1401, allocations: 27.44 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.557e-05/0.1401, allocations: 39.38 kB / 361.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1402, allocations: 0 / 361.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001016/0.1403, allocations: 61.47 kB / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1403, allocations: 7.938 kB / 361.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1403, allocations: 8.125 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1403, allocations: 0 / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.1404, allocations: 4 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1404, allocations: 4 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.1404, allocations: 0 / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1405, allocations: 4 kB / 361.5 MB, free: 10.2 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.495e-05/0.1406, allocations: 117.8 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.1407, allocations: 65.56 kB / 361.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.1408, allocations: 15.89 kB / 361.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1408, allocations: 0 / 361.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1408, allocations: 4 kB / 361.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1408, allocations: 0 / 361.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.1409, allocations: 157.6 kB / 361.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1409, allocations: 0 / 361.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.141, allocations: 11.98 kB / 361.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.141, allocations: 4.312 kB / 361.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.141, allocations: 4 kB / 361.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.141, allocations: 3.984 kB / 361.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.141, allocations: 0 / 361.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.1412, allocations: 93.05 kB / 362 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.1413, allocations: 96.88 kB / 362 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1413, allocations: 0 / 362 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-05/0.1414, allocations: 0 / 362 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-06/0.1414, allocations: 0 / 362 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1414, allocations: 8 kB / 362.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.413e-05/0.1415, allocations: 83.27 kB / 362.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.234e-06/0.1415, allocations: 4 kB / 362.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.1417, allocations: 11.94 kB / 362.2 MB, free: 9.422 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.0001676/0.1419, allocations: 99.19 kB / 362.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.142, allocations: 27.92 kB / 362.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.142, allocations: 0 / 362.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.142, allocations: 0 / 362.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.1423, allocations: 24.27 kB / 362.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.1427, allocations: 166.6 kB / 362.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.143, allocations: 0.6848 MB / 363.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.1431, allocations: 7.438 kB / 363.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1431, allocations: 4 kB / 363.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of Templates: time 0.002296/0.1454, allocations: 0.5667 MB / 363.7 MB, free: 7.781 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/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