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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00214/0.00214, allocations: 103.5 kB / 20.97 MB, free: 3.445 MB / 18.57 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.002621/0.002621, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.627/1.627, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.521e-05/3.751e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.004528/0.004566, allocations: 1.871 MB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.006397, allocations: 0.7165 MB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.006542, allocations: 7.938 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.006734, allocations: 19.73 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.006929, allocations: 27.8 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006533/0.007583, allocations: 175.4 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.007849, allocations: 151.5 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.008018, allocations: 45.7 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.008228, allocations: 83.8 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.008347, allocations: 47.81 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.008384, allocations: 16 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.008509, allocations: 51.97 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.892e-05/0.008607, allocations: 43.83 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.008686, allocations: 47.83 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.009054, allocations: 215.2 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.009058, allocations: 4 kB / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.009059, allocations: 0 / 275.7 MB, free: 14.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.009065, allocations: 0 / 275.7 MB, free: 14.26 MB / 266.7 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.000984/0.01005, allocations: 0.4957 MB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.0101, allocations: 15.98 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.01033, allocations: 36.78 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.0107, allocations: 196.4 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.01074, allocations: 12.55 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.01078, allocations: 8.375 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.01156, allocations: 334.9 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.01157, allocations: 3.938 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.0116, allocations: 8 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.01161, allocations: 0 / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.01184, allocations: 63.97 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.0124, allocations: 347.3 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.01292, allocations: 182 kB / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.01313, allocations: 91.69 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004181/0.01354, allocations: 63.88 kB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.01358, allocations: 45.33 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 3.606e-06/0.01359, allocations: 3.984 kB / 277.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006186/0.01421, allocations: 213.3 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.01433, allocations: 117.6 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.01462, allocations: 273.4 kB / 278.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.01465, allocations: 25.7 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.0148, allocations: 163.3 kB / 278.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.01483, allocations: 7.953 kB / 278.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.01489, allocations: 39.44 kB / 278.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003367/0.01523, allocations: 0.5079 MB / 278.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.01527, allocations: 4 kB / 278.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.01539, allocations: 92.12 kB / 279 MB, free: 10.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.01551, allocations: 66.67 kB / 279.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01552, allocations: 0 / 279.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001868/0.0157, allocations: 85.55 kB / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01572, allocations: 8 kB / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.01573, allocations: 0 / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.01574, allocations: 0 / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.24e-05/0.01583, allocations: 15.98 kB / 279.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01583, allocations: 0 / 279.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.0159, allocations: 7.953 kB / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.01591, allocations: 7.938 kB / 279.2 MB, free: 10.46 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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.0001753/0.01608, allocations: 186.8 kB / 279.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.01639, allocations: 141.6 kB / 279.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.01679, allocations: 163.3 kB / 279.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01679, allocations: 0 / 279.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.0168, allocations: 4 kB / 279.7 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.0168, allocations: 0 / 279.7 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.01708, allocations: 184.4 kB / 279.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.01708, allocations: 3.938 kB / 279.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.01722, allocations: 27.98 kB / 279.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01722, allocations: 0 / 279.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.01723, allocations: 8 kB / 279.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01724, allocations: 4 kB / 279.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01724, allocations: 0 / 279.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.01777, allocations: 334.9 kB / 280.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.01786, allocations: 43.81 kB / 280.3 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.0179, allocations: 8 kB / 280.3 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.01802, allocations: 7.984 kB / 280.3 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.01805, allocations: 0 / 280.3 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.01807, allocations: 8 kB / 280.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.01824, allocations: 188.4 kB / 280.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01824, allocations: 0 / 280.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002761/0.01852, allocations: 31.95 kB / 280.5 MB, free: 9.074 MB / 266.7 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.0002047/0.01872, allocations: 111.2 kB / 280.6 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.019, allocations: 83.59 kB / 280.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.019, allocations: 3.938 kB / 280.7 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.39e-05/0.01904, allocations: 15.92 kB / 280.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.0198, allocations: 157.4 kB / 280.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.02051, allocations: 326.9 kB / 281.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.02065, allocations: 115.7 kB / 281.3 MB, free: 8.195 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.0207, allocations: 17.14 kB / 281.3 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.02074, allocations: 16.5 kB / 281.3 MB, free: 8.164 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02074, allocations: 0 / 281.3 MB, free: 8.164 MB / 266.7 MB Notification: Performance of Templates: time 0.006728/0.02747, allocations: 2.449 MB / 283.8 MB, free: 5.742 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.591945606051013]