Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 117 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001887/0.001887, allocations: 208.5 kB / 19.36 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 60.94 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1365, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003331/0.1399, allocations: 1.867 MB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1416, allocations: 0.74 MB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.1419, allocations: 7.938 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.1421, allocations: 19.8 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1424, allocations: 31.78 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008608/0.1432, allocations: 170.8 kB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.1436, allocations: 147.6 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.1438, allocations: 65.5 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.144, allocations: 67.72 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1441, allocations: 59.69 kB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.1442, allocations: 12 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1443, allocations: 55.95 kB / 362.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.1444, allocations: 39.84 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.704e-05/0.1445, allocations: 71.53 kB / 362.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.145, allocations: 207.2 kB / 362.5 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.145, allocations: 4 kB / 362.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.145, allocations: 0 / 362.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.145, allocations: 0 / 362.5 MB, free: 9.766 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008418/0.1459, allocations: 474.8 kB / 362.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1459, allocations: 12.03 kB / 362.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.1461, allocations: 28.64 kB / 363 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.1468, allocations: 251.8 kB / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1468, allocations: 4.562 kB / 363.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1468, allocations: 16.12 kB / 363.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.1477, allocations: 337.2 kB / 363.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1477, allocations: 4 kB / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.1477, allocations: 0 / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1477, allocations: 0 / 363.6 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.148, allocations: 95.77 kB / 363.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.1484, allocations: 345.5 kB / 364 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.1489, allocations: 265 kB / 364.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.1491, allocations: 97.73 kB / 364.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007972/0.1499, allocations: 0.5856 MB / 364.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.1499, allocations: 34.84 kB / 365 MB, free: 6.922 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 5.55e-06/0.15, allocations: 0 / 365 MB, free: 6.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007404/0.1507, allocations: 244.3 kB / 365.2 MB, free: 6.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.1509, allocations: 122.8 kB / 365.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.1512, allocations: 195.2 kB / 365.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.1512, allocations: 29.7 kB / 365.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1513, allocations: 108.5 kB / 365.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.1514, allocations: 15.89 kB / 365.7 MB, free: 6.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/0.1515, allocations: 37.66 kB / 365.7 MB, free: 6.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.1517, allocations: 330.8 kB / 366 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1518, allocations: 35.98 kB / 366.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.152, allocations: 165.1 kB / 366.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.1524, allocations: 204.1 kB / 366.4 MB, free: 5.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.1524, allocations: 7.938 kB / 366.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004435/0.1529, allocations: 217 kB / 366.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.1529, allocations: 8 kB / 366.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1529, allocations: 7.938 kB / 366.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.153, allocations: 8 kB / 366.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1532, allocations: 40.52 kB / 366.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.1532, allocations: 8 kB / 366.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.1533, allocations: 23.83 kB / 366.7 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.1534, allocations: 16 kB / 366.7 MB, free: 4.941 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.0002073/0.1536, allocations: 149.7 kB / 366.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.154, allocations: 165.2 kB / 367.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.1544, allocations: 183.3 kB / 367.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1545, allocations: 4 kB / 367.2 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1545, allocations: 0 / 367.2 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1545, allocations: 0 / 367.2 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.1548, allocations: 221.6 kB / 367.5 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.1549, allocations: 7.938 kB / 367.5 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.155, allocations: 35.91 kB / 367.5 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.155, allocations: 0 / 367.5 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1551, allocations: 4 kB / 367.5 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.1551, allocations: 4 kB / 367.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1551, allocations: 4 kB / 367.5 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.1556, allocations: 291.9 kB / 367.8 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.1558, allocations: 116.8 kB / 367.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.1558, allocations: 15.98 kB / 367.9 MB, free: 3.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1559, allocations: 8 kB / 367.9 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.156, allocations: 7.984 kB / 367.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.1561, allocations: 8 kB / 367.9 MB, free: 3.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002717/0.1563, allocations: 144.5 kB / 368.1 MB, free: 3.492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1563, allocations: 0 / 368.1 MB, free: 3.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.1567, allocations: 32 kB / 368.1 MB, free: 3.461 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002031/0.1569, allocations: 119.2 kB / 368.2 MB, free: 3.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.1572, allocations: 143.7 kB / 368.4 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1573, allocations: 0 / 368.4 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.299e-05/0.1573, allocations: 15.92 kB / 368.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.1579, allocations: 150.7 kB / 368.5 MB, free: 3.027 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.1585, allocations: 332.9 kB / 368.9 MB, free: 2.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1589, allocations: 0.7283 MB / 369.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.616e-05/0.159, allocations: 25.53 kB / 369.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.1591, allocations: 15.44 kB / 369.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1591, allocations: 0 / 369.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of Templates: time 0.1755/0.3345, allocations: 2.348 MB / 372 MB, free: 19.54 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches