Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 98.52 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.00108, allocations: 183.4 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003292, allocations: 8.469 kB / 301.4 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 50.41 MB / 351.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002583/0.1298, allocations: 1.556 MB / 353.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.131, allocations: 0.6662 MB / 354.1 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1312, allocations: 4 kB / 354.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.1313, allocations: 19.8 kB / 354.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1315, allocations: 15.92 kB / 354.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1319, allocations: 144.8 kB / 354.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1321, allocations: 135.6 kB / 354.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1323, allocations: 49.53 kB / 354.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.778e-05/0.1324, allocations: 43.77 kB / 354.5 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1325, allocations: 47.72 kB / 354.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1325, allocations: 4 kB / 354.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.792e-05/0.1326, allocations: 43.91 kB / 354.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.1327, allocations: 31.83 kB / 354.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.1328, allocations: 81.25 kB / 354.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.133, allocations: 179.3 kB / 354.8 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.133, allocations: 0 / 354.8 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.133, allocations: 4 kB / 354.8 MB, free: 420 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.133, allocations: 4 kB / 354.9 MB, free: 416 kB / 286.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.0007707/0.1338, allocations: 451.2 kB / 355.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1338, allocations: 12.03 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.1339, allocations: 16.75 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1342, allocations: 244 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1342, allocations: 4.562 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1343, allocations: 16.06 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007179/0.135, allocations: 345.1 kB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.135, allocations: 0 / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.135, allocations: 4 kB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.135, allocations: 0 / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.1353, allocations: 99.89 kB / 356 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.1357, allocations: 349.4 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.1362, allocations: 282.2 kB / 356.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.1364, allocations: 109.3 kB / 356.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006076/0.137, allocations: 0.5856 MB / 357.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1371, allocations: 38.78 kB / 357.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.1371, allocations: 0 / 357.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.000613/0.1377, allocations: 255.6 kB / 357.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.1378, allocations: 122.7 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.138, allocations: 195.3 kB / 357.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.138, allocations: 25.7 kB / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.1381, allocations: 108.7 kB / 358.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1381, allocations: 11.91 kB / 358.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.1381, allocations: 25.7 kB / 358.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1383, allocations: 330.8 kB / 358.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.1384, allocations: 39.97 kB / 358.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1385, allocations: 173.1 kB / 358.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1388, allocations: 204.1 kB / 358.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1388, allocations: 4 kB / 358.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003309/0.1391, allocations: 217 kB / 359 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1391, allocations: 8 kB / 359 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1392, allocations: 4 kB / 359.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1392, allocations: 8.594 kB / 359.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1393, allocations: 47.91 kB / 359.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1393, allocations: 11.94 kB / 359.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1395, allocations: 19.84 kB / 359.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1395, allocations: 12 kB / 359.2 MB, free: 11.59 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.0001437/0.1396, allocations: 145.8 kB / 359.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003299/0.14, allocations: 173.3 kB / 359.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.1404, allocations: 194.2 kB / 359.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1404, allocations: 3.938 kB / 359.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1404, allocations: 0 / 359.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.1404, allocations: 4 kB / 359.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.1407, allocations: 229.5 kB / 359.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.1407, allocations: 4 kB / 359.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.1409, allocations: 31.92 kB / 359.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1409, allocations: 8 kB / 359.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1409, allocations: 7.984 kB / 359.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1409, allocations: 4 kB / 359.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1409, allocations: 7.875 kB / 359.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.1414, allocations: 302.7 kB / 360.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1415, allocations: 120.7 kB / 360.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.1415, allocations: 8 kB / 360.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1416, allocations: 15.98 kB / 360.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.1417, allocations: 0 / 360.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1417, allocations: 8 kB / 360.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1418, allocations: 143.4 kB / 360.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1418, allocations: 0 / 360.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000311/0.1422, allocations: 35.98 kB / 360.6 MB, free: 10.06 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.0001807/0.1424, allocations: 115.2 kB / 360.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.1427, allocations: 152.7 kB / 360.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.1427, allocations: 4.188 kB / 360.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.232e-05/0.1428, allocations: 15.94 kB / 360.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006316/0.1434, allocations: 145.6 kB / 361 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.1441, allocations: 391 kB / 361.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1444, allocations: 0.7363 MB / 362.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.781e-05/0.1445, allocations: 17.55 kB / 362.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1445, allocations: 15.44 kB / 362.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of SimCode: time 1.442e-06/0.1445, allocations: 4 kB / 362.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of Templates: time 0.005776/0.1503, allocations: 2.185 MB / 364.3 MB, free: 6.238 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches