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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00635/0.00635, allocations: 103.1 kB / 21.97 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 220.6 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.613/1.613, allocations: 230.6 MB / 259 MB, free: 8.047 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-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=5011,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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "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.001994/0.001994, allocations: 64.55 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4008, allocations: 53.37 MB / 433.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003714/0.4045, allocations: 1.893 MB / 435.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.4061, allocations: 0.7595 MB / 435.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.4062, allocations: 7.938 kB / 435.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.4064, allocations: 23.78 kB / 435.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.4065, allocations: 19.8 kB / 435.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.4072, allocations: 174.6 kB / 436.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.4074, allocations: 151.5 kB / 436.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.4076, allocations: 41.72 kB / 436.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.4077, allocations: 67.77 kB / 436.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.4079, allocations: 59.64 kB / 436.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.4079, allocations: 12 kB / 436.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.408, allocations: 59.95 kB / 436.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.57e-05/0.4081, allocations: 43.84 kB / 436.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.4082, allocations: 71.53 kB / 436.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.4086, allocations: 209.4 kB / 436.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.4086, allocations: 0 / 436.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4086, allocations: 0 / 436.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.4086, allocations: 0 / 436.8 MB, free: 3.41 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.0007764/0.4094, allocations: 413.5 kB / 437.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4094, allocations: 8.031 kB / 437.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.4096, allocations: 28.8 kB / 437.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.41, allocations: 194.7 kB / 437.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.41, allocations: 12.56 kB / 437.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.41, allocations: 16.06 kB / 437.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.4107, allocations: 327 kB / 437.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4108, allocations: 0 / 437.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.4108, allocations: 4 kB / 437.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.4108, allocations: 4 kB / 437.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.411, allocations: 83.88 kB / 437.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.4115, allocations: 320.6 kB / 438.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.412, allocations: 181.2 kB / 438.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.4122, allocations: 93.72 kB / 438.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003935/0.4126, allocations: 59.92 kB / 438.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.4126, allocations: 38.56 kB / 438.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.4126, allocations: 4 kB / 438.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006313/0.4132, allocations: 237.4 kB / 438.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.4133, allocations: 122.7 kB / 438.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.4136, allocations: 186.8 kB / 439 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.4136, allocations: 25.7 kB / 439.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/0.4137, allocations: 108.7 kB / 439.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.4137, allocations: 19.89 kB / 439.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.4138, allocations: 41.7 kB / 439.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.414, allocations: 326.8 kB / 439.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.4141, allocations: 43.97 kB / 439.6 MB, free: 356 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.4142, allocations: 163 kB / 439.8 MB, free: 132 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.4145, allocations: 204.1 kB / 440 MB, free: 15.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4145, allocations: 0 / 440 MB, free: 15.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003695/0.4149, allocations: 221.3 kB / 440.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4149, allocations: 8 kB / 440.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4149, allocations: 4 kB / 440.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.415, allocations: 4 kB / 440.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.4151, allocations: 43.91 kB / 440.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.4151, allocations: 8 kB / 440.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.4152, allocations: 23.83 kB / 440.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.4152, allocations: 8 kB / 440.3 MB, free: 15.55 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.0001734/0.4154, allocations: 161.9 kB / 440.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/0.4158, allocations: 168.3 kB / 440.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003982/0.4162, allocations: 183.3 kB / 440.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4162, allocations: 0 / 440.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.4162, allocations: 4 kB / 440.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4162, allocations: 0 / 440.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.4164, allocations: 208.5 kB / 441 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4164, allocations: 3.938 kB / 441 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.4166, allocations: 31.92 kB / 441 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4166, allocations: 4 kB / 441 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.4166, allocations: 7.984 kB / 441 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4166, allocations: 0 / 441 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4166, allocations: 4 kB / 441 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.417, allocations: 280.2 kB / 441.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.4171, allocations: 47.69 kB / 441.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.4171, allocations: 12 kB / 441.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.4173, allocations: 7.984 kB / 441.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.4173, allocations: 4 kB / 441.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.4173, allocations: 8 kB / 441.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.4175, allocations: 156 kB / 441.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4175, allocations: 0 / 441.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.4178, allocations: 31.94 kB / 441.6 MB, free: 14.17 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.0001862/0.418, allocations: 115.2 kB / 441.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.4183, allocations: 148.4 kB / 441.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4183, allocations: 0 / 441.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.4184, allocations: 4 kB / 441.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.419, allocations: 149.5 kB / 442 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.4197, allocations: 365.7 kB / 442.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.4201, allocations: 0.7439 MB / 443.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.4202, allocations: 15.44 kB / 443.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4202, allocations: 0 / 443.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Templates: time 0.004962/0.4251, allocations: 2.271 MB / 445.4 MB, free: 10.31 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.910878855967894]