Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001731/0.001731, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.562/1.562, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 69.25 kB / 307.9 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1213, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003555/0.1249, allocations: 1.861 MB / 360.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1263, allocations: 0.7517 MB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1265, allocations: 4 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.1267, allocations: 31.72 kB / 361.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1268, allocations: 19.8 kB / 361.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.1274, allocations: 167 kB / 361.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.1276, allocations: 147.6 kB / 361.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1278, allocations: 65.48 kB / 361.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.128, allocations: 63.72 kB / 361.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.1281, allocations: 63.69 kB / 361.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.1281, allocations: 12 kB / 361.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1283, allocations: 59.89 kB / 361.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.952e-05/0.1284, allocations: 39.84 kB / 361.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.1285, allocations: 63.61 kB / 361.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1288, allocations: 203.3 kB / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1288, allocations: 0 / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1288, allocations: 0 / 362 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1288, allocations: 3.938 kB / 362 MB, free: 10.38 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.0008176/0.1296, allocations: 487 kB / 362.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1297, allocations: 8.031 kB / 362.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.1299, allocations: 32.64 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.1302, allocations: 247.6 kB / 362.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1302, allocations: 4.562 kB / 362.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1302, allocations: 12.12 kB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007112/0.131, allocations: 326.3 kB / 363.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.131, allocations: 4 kB / 363.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.131, allocations: 7.938 kB / 363.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.131, allocations: 0 / 363.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.1313, allocations: 83.88 kB / 363.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.1318, allocations: 341.6 kB / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.1323, allocations: 266.2 kB / 363.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.1325, allocations: 103.8 kB / 363.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008418/0.1334, allocations: 0.5859 MB / 364.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1334, allocations: 34.5 kB / 364.5 MB, free: 7.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.1334, allocations: 0 / 364.5 MB, free: 7.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006653/0.1341, allocations: 241.2 kB / 364.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.1342, allocations: 118.8 kB / 364.8 MB, free: 7.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1344, allocations: 191.8 kB / 365 MB, free: 6.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1345, allocations: 29.7 kB / 365 MB, free: 6.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.1346, allocations: 104.5 kB / 365.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.1346, allocations: 15.89 kB / 365.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.1347, allocations: 45.83 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1348, allocations: 326.8 kB / 365.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.1349, allocations: 39.97 kB / 365.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.1351, allocations: 166.9 kB / 365.7 MB, free: 6.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.1354, allocations: 204.1 kB / 365.9 MB, free: 5.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1355, allocations: 0 / 365.9 MB, free: 5.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003518/0.1358, allocations: 217.6 kB / 366.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.1358, allocations: 8 kB / 366.1 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1359, allocations: 8.031 kB / 366.1 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1359, allocations: 4 kB / 366.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.136, allocations: 43.92 kB / 366.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.1361, allocations: 15.92 kB / 366.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.1362, allocations: 15.84 kB / 366.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1362, allocations: 12 kB / 366.2 MB, free: 5.566 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.0001616/0.1364, allocations: 158.4 kB / 366.4 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.1367, allocations: 163.5 kB / 366.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.1371, allocations: 187.3 kB / 366.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1371, allocations: 4 kB / 366.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1372, allocations: 0 / 366.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1372, allocations: 4 kB / 366.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.1374, allocations: 221.6 kB / 367 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.1375, allocations: 3.938 kB / 367 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.1376, allocations: 39.97 kB / 367 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1376, allocations: 4 kB / 367 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1377, allocations: 0 / 367 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1377, allocations: 0 / 367 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1377, allocations: 4 kB / 367 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.1381, allocations: 303.8 kB / 367.3 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1383, allocations: 116.8 kB / 367.4 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.1383, allocations: 8 kB / 367.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1385, allocations: 7.984 kB / 367.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.1385, allocations: 8 kB / 367.4 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1385, allocations: 4 kB / 367.4 MB, free: 4.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1387, allocations: 143.3 kB / 367.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1387, allocations: 4 kB / 367.6 MB, free: 4.105 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.139, allocations: 28 kB / 367.6 MB, free: 4.078 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.0002246/0.1393, allocations: 123.2 kB / 367.7 MB, free: 3.949 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.1397, allocations: 163.5 kB / 367.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1397, allocations: 0 / 367.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.1397, allocations: 12.12 kB / 367.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.1404, allocations: 156.3 kB / 368.1 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007164/0.1411, allocations: 354.8 kB / 368.4 MB, free: 3.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.1415, allocations: 0.7401 MB / 369.1 MB, free: 2.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.1416, allocations: 15.44 kB / 369.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1416, allocations: 0 / 369.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of Templates: time 0.004697/0.1463, allocations: 2.26 MB / 371.4 MB, free: 216 kB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches