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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 207.2 kB / 19.79 MB, free: 2.586 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.655/1.655, allocations: 230.4 MB / 251.1 MB, free: 8.453 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.002415/0.002415, allocations: 67.83 kB / 369 MB, free: 6.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3732, allocations: 53.31 MB / 422.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003871/0.377, allocations: 1.889 MB / 424.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3787, allocations: 0.7595 MB / 424.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3788, allocations: 7.938 kB / 424.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.379, allocations: 15.8 kB / 424.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.3792, allocations: 23.8 kB / 425 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.3798, allocations: 167.6 kB / 425.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.3801, allocations: 155.5 kB / 425.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.3803, allocations: 45.53 kB / 425.3 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.3805, allocations: 59.77 kB / 425.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.3806, allocations: 59.64 kB / 425.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.3806, allocations: 16 kB / 425.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.3808, allocations: 55.94 kB / 425.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3809, allocations: 47.84 kB / 425.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.381, allocations: 67.55 kB / 425.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.3814, allocations: 206.7 kB / 425.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3814, allocations: 0 / 425.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3814, allocations: 0 / 425.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3814, allocations: 0 / 425.8 MB, free: 4.266 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.0009296/0.3823, allocations: 486.7 kB / 426.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3824, allocations: 12.03 kB / 426.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.3826, allocations: 32.78 kB / 426.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.383, allocations: 252.1 kB / 426.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.383, allocations: 8.562 kB / 426.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3831, allocations: 12.12 kB / 426.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.3838, allocations: 326.3 kB / 426.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3838, allocations: 0 / 426.9 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3839, allocations: 4 kB / 426.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3839, allocations: 4 kB / 426.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.3841, allocations: 87.81 kB / 427 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.3847, allocations: 345.5 kB / 427.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.3853, allocations: 254.3 kB / 427.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.3855, allocations: 93.72 kB / 427.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007651/0.3862, allocations: 0.5895 MB / 428.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.3863, allocations: 30.56 kB / 428.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.3863, allocations: 0 / 428.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006545/0.3869, allocations: 241.4 kB / 428.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.3871, allocations: 122.7 kB / 428.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.3873, allocations: 195.2 kB / 428.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.3873, allocations: 29.7 kB / 428.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.3874, allocations: 104.6 kB / 429 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.3875, allocations: 19.89 kB / 429 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.3875, allocations: 37.72 kB / 429.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3877, allocations: 334.9 kB / 429.4 MB, free: 304 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.3878, allocations: 39.91 kB / 429.4 MB, free: 264 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.388, allocations: 161.9 kB / 429.6 MB, free: 40 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.3883, allocations: 204.1 kB / 429.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3883, allocations: 0 / 429.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00036/0.3886, allocations: 225 kB / 430 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3886, allocations: 11.88 kB / 430 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3887, allocations: 11.94 kB / 430 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3887, allocations: 4 kB / 430 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3888, allocations: 39.92 kB / 430.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.3889, allocations: 15.97 kB / 430.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.389, allocations: 19.89 kB / 430.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.389, allocations: 8 kB / 430.1 MB, free: 15.45 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.0001727/0.3892, allocations: 149.7 kB / 430.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.3895, allocations: 165.4 kB / 430.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.3899, allocations: 182.2 kB / 430.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/0.39, allocations: 4 kB / 430.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.39, allocations: 0 / 430.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.39, allocations: 0 / 430.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.3903, allocations: 233.5 kB / 430.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.3903, allocations: 3.938 kB / 430.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.3904, allocations: 35.91 kB / 430.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3904, allocations: 8 kB / 430.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3905, allocations: 0 / 430.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3905, allocations: 0 / 430.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3905, allocations: 4 kB / 430.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.3909, allocations: 280.2 kB / 431.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.391, allocations: 120.9 kB / 431.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.3911, allocations: 15.92 kB / 431.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.3912, allocations: 11.98 kB / 431.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3912, allocations: 4 kB / 431.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3913, allocations: 4 kB / 431.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.3914, allocations: 143 kB / 431.4 MB, free: 14 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3914, allocations: 0 / 431.4 MB, free: 14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.3918, allocations: 35.94 kB / 431.5 MB, free: 13.96 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.0002205/0.392, allocations: 115.2 kB / 431.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.3923, allocations: 135.8 kB / 431.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3924, allocations: 1.188 kB / 431.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.3924, allocations: 11.98 kB / 431.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/0.3931, allocations: 160.5 kB / 431.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.3938, allocations: 340.5 kB / 432.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.3942, allocations: 0.7362 MB / 433 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.3943, allocations: 13.55 kB / 433 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.3944, allocations: 15.44 kB / 433 MB, free: 12.39 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3944, allocations: 0 / 433 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Templates: time 0.007163/0.4015, allocations: 2.434 MB / 435.4 MB, free: 9.973 MB / 350.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/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] Reference file matches