Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00247/0.00247, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.78 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1321, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003257/0.1354, allocations: 1.552 MB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004141/0.1359, allocations: 135.6 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.011e-05/0.136, allocations: 0 / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.356e-05/0.1361, allocations: 7.922 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.1362, allocations: 11.92 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1365, allocations: 23.92 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1366, allocations: 51.83 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1367, allocations: 11.98 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.1368, allocations: 15.92 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.1368, allocations: 7.938 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1368, allocations: 4 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.1369, allocations: 0 / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.1369, allocations: 19.92 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.137, allocations: 23.81 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1371, allocations: 47.75 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1372, allocations: 8 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1372, allocations: 0 / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1372, allocations: 0 / 360.8 MB, free: 11.44 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004798/0.1377, allocations: 367.2 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1377, allocations: 8.031 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.1378, allocations: 8.844 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.138, allocations: 192.1 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1381, allocations: 4.375 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1381, allocations: 8.312 kB / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.1385, allocations: 121.5 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1385, allocations: 192 / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1385, allocations: 7.922 kB / 361.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1385, allocations: 7.984 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.1386, allocations: 19.98 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.139, allocations: 257.8 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1393, allocations: 142.2 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.1393, allocations: 29.77 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1394, allocations: 3.938 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.1394, allocations: 38.55 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1394, allocations: 3.938 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002751/0.1397, allocations: 77.64 kB / 362.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.1398, allocations: 81.11 kB / 362.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1399, allocations: 137.6 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1399, allocations: 25.7 kB / 362.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.14, allocations: 84.14 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.14, allocations: 11.92 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.1401, allocations: 21.62 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1402, allocations: 314.8 kB / 362.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.1402, allocations: 11.98 kB / 362.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-05/0.1403, allocations: 27.44 kB / 362.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.761e-05/0.1404, allocations: 51.36 kB / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1404, allocations: 0 / 362.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001251/0.1405, allocations: 73.48 kB / 362.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1406, allocations: 4 kB / 362.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1406, allocations: 4 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1406, allocations: 0 / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.1407, allocations: 11.98 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1407, allocations: 0 / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.1407, allocations: 8.125 kB / 362.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1407, allocations: 0 / 362.9 MB, free: 9.02 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.216e-05/0.1408, allocations: 126.8 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.1409, allocations: 49.53 kB / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.141, allocations: 12.25 kB / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.141, allocations: 0 / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.141, allocations: 4 kB / 363.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.141, allocations: 7.922 kB / 363.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.1412, allocations: 165.6 kB / 363.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1412, allocations: 4 kB / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.1413, allocations: 11.98 kB / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1413, allocations: 0 / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.1413, allocations: 0 / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1413, allocations: 4 kB / 363.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1413, allocations: 0 / 363.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.1415, allocations: 176.5 kB / 363.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.1416, allocations: 97 kB / 363.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1416, allocations: 0 / 363.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.757e-05/0.1416, allocations: 0 / 363.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.1417, allocations: 4 kB / 363.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1417, allocations: 3.984 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.478e-05/0.1418, allocations: 103.3 kB / 363.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1418, allocations: 0 / 363.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000227/0.142, allocations: 7.938 kB / 363.7 MB, free: 8.148 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001139/0.1421, allocations: 99.25 kB / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.1423, allocations: 31.91 kB / 363.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1423, allocations: 4 kB / 363.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.1423, allocations: 4 kB / 363.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1427, allocations: 27.95 kB / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.143, allocations: 158.6 kB / 364 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1433, allocations: 0.6885 MB / 364.7 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.942e-05/0.1434, allocations: 256 / 364.7 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.1434, allocations: 11.44 kB / 364.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1434, allocations: 0 / 364.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of Templates: time 0.002599/0.146, allocations: 0.4937 MB / 365.2 MB, free: 6.578 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches