Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.607/1.607, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 52.06 kB / 374.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1271, allocations: 53.33 MB / 427.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003669/0.1307, allocations: 1.878 MB / 429.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1323, allocations: 0.7595 MB / 430.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1325, allocations: 7.938 kB / 430.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.1326, allocations: 27.67 kB / 430.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.1328, allocations: 23.8 kB / 430.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.1334, allocations: 159.5 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1337, allocations: 151.6 kB / 430.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1339, allocations: 45.53 kB / 430.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.134, allocations: 63.7 kB / 430.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.1342, allocations: 63.64 kB / 430.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.1342, allocations: 12 kB / 430.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1344, allocations: 59.95 kB / 430.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.983e-05/0.1345, allocations: 43.83 kB / 430.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.1345, allocations: 71.55 kB / 430.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.1349, allocations: 203.1 kB / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1349, allocations: 0 / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1349, allocations: 0 / 431 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1349, allocations: 4 kB / 431 MB, free: 0.7227 MB / 350.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.0008851/0.1358, allocations: 482.7 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1359, allocations: 8.031 kB / 431.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.136, allocations: 32.78 kB / 431.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2481/0.3841, allocations: 242.7 kB / 431.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.3841, allocations: 8.219 kB / 431.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.3842, allocations: 5.031 kB / 431.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009436/0.3851, allocations: 342.2 kB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3851, allocations: 0 / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.3851, allocations: 1.375 kB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3851, allocations: 1.531 kB / 432.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.3854, allocations: 88.64 kB / 432.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.3859, allocations: 346 kB / 432.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.3864, allocations: 259.7 kB / 432.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.3866, allocations: 90.28 kB / 432.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005492/0.3871, allocations: 0.5898 MB / 433.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3872, allocations: 36.44 kB / 433.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.3872, allocations: 0.5312 kB / 433.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006322/0.3878, allocations: 232.7 kB / 433.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.3879, allocations: 118.6 kB / 433.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3881, allocations: 197.3 kB / 434.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3881, allocations: 30.92 kB / 434.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.3881, allocations: 111 kB / 434.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.3882, allocations: 17.05 kB / 434.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.3882, allocations: 36.77 kB / 434.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.3883, allocations: 330.9 kB / 434.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.3884, allocations: 39.03 kB / 434.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3885, allocations: 170.5 kB / 434.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.3887, allocations: 203.6 kB / 435 MB, free: 9.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.3887, allocations: 3.281 kB / 435 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000325/0.389, allocations: 217.5 kB / 435.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.389, allocations: 8.281 kB / 435.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.389, allocations: 4.688 kB / 435.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.3891, allocations: 12.48 kB / 435.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3892, allocations: 43.75 kB / 435.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3892, allocations: 5.594 kB / 435.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.3893, allocations: 21.88 kB / 435.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3894, allocations: 13.16 kB / 435.3 MB, free: 8.949 MB / 350.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.0001206/0.3895, allocations: 156.2 kB / 435.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.3898, allocations: 161.7 kB / 435.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.3902, allocations: 181.7 kB / 435.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3902, allocations: 9.594 kB / 435.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3902, allocations: 1.5 kB / 435.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3902, allocations: 1.078 kB / 435.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3904, allocations: 227.5 kB / 436 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.3904, allocations: 5.422 kB / 436 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.3905, allocations: 27.86 kB / 436.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3905, allocations: 1.094 kB / 436.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3905, allocations: 9.578 kB / 436.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3905, allocations: 5.156 kB / 436.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3905, allocations: 1.094 kB / 436.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.3909, allocations: 285.8 kB / 436.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-05/0.391, allocations: 115.2 kB / 436.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.3911, allocations: 7.156 kB / 436.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3912, allocations: 16.89 kB / 436.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.3912, allocations: 5.094 kB / 436.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3913, allocations: 6.906 kB / 436.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.3914, allocations: 145.5 kB / 436.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3914, allocations: 288 / 436.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.3917, allocations: 37.64 kB / 436.7 MB, free: 8.188 MB / 350.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.0001911/0.3919, allocations: 119.7 kB / 436.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.3922, allocations: 151.3 kB / 437 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3922, allocations: 0 / 437 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.3923, allocations: 6.812 kB / 437 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.3929, allocations: 144.1 kB / 437.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.3935, allocations: 357.1 kB / 437.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.3938, allocations: 0.7397 MB / 438.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.3938, allocations: 16 kB / 438.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3938, allocations: 3.938 kB / 438.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of Templates: time 0.005428/0.3992, allocations: 2.286 MB / 440.5 MB, free: 6.922 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.973567225999432]