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.001272/0.001272, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 59.61 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1489, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003565/0.1525, allocations: 1.882 MB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.154, allocations: 0.74 MB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1542, allocations: 8 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.1544, allocations: 23.73 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1545, allocations: 27.78 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.1551, allocations: 151.6 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1553, allocations: 155.5 kB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1555, allocations: 65.5 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1557, allocations: 63.72 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1558, allocations: 67.67 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.1559, allocations: 12 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.156, allocations: 51.97 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.1561, allocations: 43.78 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.1562, allocations: 75.58 kB / 362.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1565, allocations: 199.3 kB / 362.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1565, allocations: 4 kB / 362.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1565, allocations: 0 / 362.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1565, allocations: 0 / 362.4 MB, free: 9.793 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.0007421/0.1572, allocations: 478.8 kB / 362.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1573, allocations: 12.03 kB / 362.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.1575, allocations: 32.59 kB / 363 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.1579, allocations: 247.9 kB / 363.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1579, allocations: 8.5 kB / 363.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1579, allocations: 16.06 kB / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.1586, allocations: 329.6 kB / 363.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1586, allocations: 4 kB / 363.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1586, allocations: 4 kB / 363.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1586, allocations: 0 / 363.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.1589, allocations: 83.88 kB / 363.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.1593, allocations: 345.5 kB / 364 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.1598, allocations: 258.5 kB / 364.2 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.16, allocations: 109.7 kB / 364.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/0.1606, allocations: 0.5817 MB / 364.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1607, allocations: 34.56 kB / 364.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.1607, allocations: 0 / 364.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.000569/0.1612, allocations: 247.8 kB / 365.2 MB, free: 6.703 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/0.1613, allocations: 122.7 kB / 365.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1615, allocations: 195.2 kB / 365.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1616, allocations: 29.7 kB / 365.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.1617, allocations: 104.5 kB / 365.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1617, allocations: 15.89 kB / 365.6 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/0.1618, allocations: 41.7 kB / 365.7 MB, free: 6.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1619, allocations: 331 kB / 366 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.143e-05/0.162, allocations: 43.97 kB / 366.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.1621, allocations: 164.7 kB / 366.2 MB, free: 5.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.1624, allocations: 208.1 kB / 366.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1624, allocations: 0 / 366.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003271/0.1627, allocations: 217 kB / 366.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1628, allocations: 8.594 kB / 366.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1628, allocations: 8 kB / 366.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1628, allocations: 4 kB / 366.6 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1629, allocations: 39.92 kB / 366.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.163, allocations: 15.92 kB / 366.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1631, allocations: 19.84 kB / 366.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1631, allocations: 8 kB / 366.7 MB, free: 4.973 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.0001507/0.1633, allocations: 153.7 kB / 366.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.1636, allocations: 161.3 kB / 367 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003637/0.1639, allocations: 191.2 kB / 367.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.164, allocations: 4 kB / 367.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.164, allocations: 0 / 367.2 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.164, allocations: 3.938 kB / 367.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.1642, allocations: 221.6 kB / 367.4 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1642, allocations: 3.938 kB / 367.5 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.1644, allocations: 31.97 kB / 367.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1644, allocations: 8 kB / 367.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1644, allocations: 4 kB / 367.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1644, allocations: 0 / 367.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1644, allocations: 7.938 kB / 367.5 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.1648, allocations: 290.6 kB / 367.8 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1649, allocations: 120.8 kB / 367.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.165, allocations: 8 kB / 367.9 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1651, allocations: 7.984 kB / 367.9 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.1651, allocations: 4 kB / 367.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1652, allocations: 8 kB / 367.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1653, allocations: 136.5 kB / 368.1 MB, free: 3.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1653, allocations: 4 kB / 368.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.1656, allocations: 36 kB / 368.1 MB, free: 3.492 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.0002192/0.1658, allocations: 123.1 kB / 368.2 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.1662, allocations: 147.7 kB / 368.4 MB, free: 3.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1662, allocations: 1.188 kB / 368.4 MB, free: 3.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.1662, allocations: 4 kB / 368.4 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.1668, allocations: 157.2 kB / 368.5 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.1674, allocations: 332.9 kB / 368.9 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1677, allocations: 0.7401 MB / 369.6 MB, free: 1.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.721e-05/0.1678, allocations: 13.55 kB / 369.6 MB, free: 1.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.1679, allocations: 23.42 kB / 369.6 MB, free: 1.898 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1679, allocations: 3.938 kB / 369.6 MB, free: 1.895 MB / 302.1 MB Notification: Performance of Templates: time 0.2362/0.4041, allocations: 2.332 MB / 372 MB, free: 20 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 cvode -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