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.001974/0.001974, allocations: 117.7 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002602/0.002602, allocations: 204.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.971/2.971, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5891, allocations: 50.55 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.006986/0.5962, allocations: 1.866 MB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.5993, allocations: 0.7477 MB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002547/0.5996, allocations: 4 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.6, allocations: 19.73 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.6003, allocations: 27.78 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.6013, allocations: 163.6 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.6017, allocations: 155.5 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.602, allocations: 61.5 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.6023, allocations: 63.72 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.6025, allocations: 63.67 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.6026, allocations: 12 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.6028, allocations: 55.97 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.6029, allocations: 43.84 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.6031, allocations: 71.53 kB / 413.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.6035, allocations: 207.2 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.6036, allocations: 0 / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.6036, allocations: 4 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.6036, allocations: 0 / 413.5 MB, free: 14.02 MB / 334.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.0012/0.6048, allocations: 476 kB / 414 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/0.6049, allocations: 12.03 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/0.6051, allocations: 20.75 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006464/0.6058, allocations: 255.9 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.6058, allocations: 8.562 kB / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.6059, allocations: 16.12 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.6069, allocations: 326.2 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.607, allocations: 3.938 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.607, allocations: 0 / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.607, allocations: 0 / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.6074, allocations: 87.94 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.6081, allocations: 345.5 kB / 415 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.6088, allocations: 262.2 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.6091, allocations: 105.5 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009743/0.6101, allocations: 0.5856 MB / 415.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.6101, allocations: 38.56 kB / 416 MB, free: 11.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 2.184e-06/0.6101, allocations: 0 / 416 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008403/0.611, allocations: 237.2 kB / 416.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.6111, allocations: 118.7 kB / 416.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.6114, allocations: 199.3 kB / 416.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.6115, allocations: 29.7 kB / 416.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6116, allocations: 108.5 kB / 416.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.6116, allocations: 19.8 kB / 416.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.6117, allocations: 37.7 kB / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.612, allocations: 330.8 kB / 417 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.6121, allocations: 39.97 kB / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.6123, allocations: 164.1 kB / 417.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.6127, allocations: 208.1 kB / 417.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.6127, allocations: 4 kB / 417.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004552/0.6132, allocations: 213 kB / 417.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.6132, allocations: 8 kB / 417.7 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.6133, allocations: 4 kB / 417.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/0.6133, allocations: 8 kB / 417.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.6135, allocations: 39.92 kB / 417.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/0.6136, allocations: 12.52 kB / 417.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.6137, allocations: 19.91 kB / 417.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.6138, allocations: 12 kB / 417.8 MB, free: 9.215 MB / 334.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.0002439/0.614, allocations: 154.9 kB / 417.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000456/0.6145, allocations: 168.1 kB / 418.1 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000569/0.6151, allocations: 183.3 kB / 418.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.6151, allocations: 8 kB / 418.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.6151, allocations: 0 / 418.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.6151, allocations: 0 / 418.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.6156, allocations: 225.5 kB / 418.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.6156, allocations: 7.938 kB / 418.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.6158, allocations: 31.97 kB / 418.5 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.6158, allocations: 0 / 418.5 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.6158, allocations: 4 kB / 418.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.6158, allocations: 4 kB / 418.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6159, allocations: 0 / 418.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.6165, allocations: 290.4 kB / 418.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.6166, allocations: 120.8 kB / 418.9 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.6167, allocations: 8 kB / 418.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.6169, allocations: 11.98 kB / 418.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.617, allocations: 4 kB / 419 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.617, allocations: 8 kB / 419 MB, free: 7.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.6172, allocations: 144.2 kB / 419.1 MB, free: 7.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6172, allocations: 0 / 419.1 MB, free: 7.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004939/0.6177, allocations: 35.91 kB / 419.1 MB, free: 7.727 MB / 334.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.0002946/0.618, allocations: 115.2 kB / 419.2 MB, free: 7.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004921/0.6185, allocations: 147.9 kB / 419.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6185, allocations: 0 / 419.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.6186, allocations: 8 kB / 419.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008612/0.6195, allocations: 165.6 kB / 419.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009767/0.6205, allocations: 362.7 kB / 419.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.6209, allocations: 0.7399 MB / 420.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.621, allocations: 15.44 kB / 420.7 MB, free: 6.121 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.621, allocations: 0 / 420.7 MB, free: 6.121 MB / 334.1 MB Notification: Performance of Templates: time 0.00681/0.6279, allocations: 2.296 MB / 423 MB, free: 3.828 MB / 334.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 -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