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.00149/0.001489, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001557/0.001557, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.445/1.445, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 52.23 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1094, allocations: 49.44 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.00459/0.1141, allocations: 1.847 MB / 352.6 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1157, allocations: 0.6972 MB / 353.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1159, allocations: 7.938 kB / 353.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.1161, allocations: 15.8 kB / 353.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.1163, allocations: 23.8 kB / 353.3 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.1169, allocations: 154.5 kB / 353.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.1172, allocations: 147.7 kB / 353.6 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.1174, allocations: 61.33 kB / 353.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1175, allocations: 59.7 kB / 353.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1177, allocations: 63.7 kB / 353.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.1177, allocations: 12 kB / 353.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1179, allocations: 51.97 kB / 353.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.118, allocations: 51.77 kB / 353.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.1181, allocations: 67.53 kB / 354 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.1184, allocations: 191.4 kB / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1184, allocations: 0 / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1185, allocations: 0 / 354.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1185, allocations: 0 / 354.2 MB, free: 0.957 MB / 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.00102/0.1195, allocations: 483 kB / 354.6 MB, free: 448 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1196, allocations: 11.89 kB / 354.6 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.522e-05/0.1196, allocations: 20.75 kB / 354.7 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.12, allocations: 240 kB / 354.9 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.12, allocations: 12.56 kB / 354.9 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.1201, allocations: 12.12 kB / 354.9 MB, free: 112 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008924/0.121, allocations: 318.5 kB / 355.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.121, allocations: 0 / 355.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.121, allocations: 4 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.121, allocations: 4 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.1213, allocations: 87.81 kB / 355.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.1219, allocations: 349.5 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.1224, allocations: 266.3 kB / 355.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.1227, allocations: 101.7 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009574/0.1236, allocations: 0.5817 MB / 356.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.1237, allocations: 38.56 kB / 356.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.244e-06/0.1237, allocations: 0 / 356.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006529/0.1244, allocations: 241.3 kB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.1245, allocations: 118.7 kB / 357 MB, free: 13.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.1247, allocations: 194.3 kB / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1248, allocations: 29.69 kB / 357.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.1248, allocations: 104.6 kB / 357.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.1249, allocations: 23.73 kB / 357.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.125, allocations: 37.7 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1251, allocations: 331 kB / 357.7 MB, free: 13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.1252, allocations: 35.97 kB / 357.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1254, allocations: 168.3 kB / 357.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.1257, allocations: 200.1 kB / 358.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1257, allocations: 4 kB / 358.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003512/0.126, allocations: 216.9 kB / 358.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.1261, allocations: 8.594 kB / 358.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1261, allocations: 8 kB / 358.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/0.1261, allocations: 8 kB / 358.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1263, allocations: 43.91 kB / 358.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1263, allocations: 4 kB / 358.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1264, allocations: 19.84 kB / 358.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1264, allocations: 12 kB / 358.4 MB, free: 12.17 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.0002018/0.1266, allocations: 145.4 kB / 358.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/0.127, allocations: 168 kB / 358.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.1274, allocations: 183.3 kB / 358.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.1274, allocations: 4 kB / 358.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1275, allocations: 0 / 358.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1275, allocations: 0 / 358.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.1278, allocations: 229.5 kB / 359.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.1278, allocations: 7.875 kB / 359.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.128, allocations: 31.92 kB / 359.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.1281, allocations: 8 kB / 359.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1281, allocations: 3.984 kB / 359.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1281, allocations: 3.938 kB / 359.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1281, allocations: 4 kB / 359.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.1286, allocations: 284 kB / 359.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1287, allocations: 120.8 kB / 359.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.1287, allocations: 8 kB / 359.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1289, allocations: 15.92 kB / 359.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.1289, allocations: 4 kB / 359.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.129, allocations: 4 kB / 359.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1291, allocations: 139.2 kB / 359.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1291, allocations: 0 / 359.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.1294, allocations: 35.98 kB / 359.8 MB, free: 10.69 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.0002763/0.1297, allocations: 119.2 kB / 359.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.1302, allocations: 160.6 kB / 360.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1302, allocations: 0 / 360.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.1302, allocations: 12.05 kB / 360.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.1309, allocations: 152.5 kB / 360.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.1317, allocations: 362 kB / 360.6 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.1322, allocations: 0.7322 MB / 361.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1322, allocations: 19.44 kB / 361.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1322, allocations: 0 / 361.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of Templates: time 0.005123/0.1374, allocations: 2.232 MB / 363.6 MB, free: 6.855 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/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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches