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.001826/0.001826, allocations: 85.58 kB / 20.68 MB, free: 1.035 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.0022/0.0022, allocations: 158.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.54/1.54, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 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.965e-06/2.965e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/3.057e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003592/0.003622, allocations: 1.833 MB / 326.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.005281, allocations: 0.7087 MB / 327.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.005424, allocations: 6.375 kB / 327.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.005584, allocations: 21.61 kB / 327.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.005769, allocations: 24.12 kB / 327.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007347/0.006504, allocations: 182.8 kB / 327.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.006783, allocations: 159.9 kB / 328 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.006932, allocations: 35.64 kB / 328 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.007157, allocations: 83.86 kB / 328.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.007281, allocations: 43.23 kB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.007319, allocations: 12.72 kB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.007468, allocations: 56.55 kB / 328.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.007569, allocations: 49.34 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.007645, allocations: 41.95 kB / 328.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.008047, allocations: 215.3 kB / 328.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.00805, allocations: 1.156 kB / 328.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.02e-07/0.00805, allocations: 0 / 328.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.008056, allocations: 0 / 328.5 MB, free: 14.35 MB / 302.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.000885/0.008941, allocations: 406.5 kB / 328.9 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.008989, allocations: 12.95 kB / 328.9 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.0092, allocations: 34.86 kB / 328.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.009605, allocations: 194.4 kB / 329.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.009628, allocations: 12.38 kB / 329.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.009647, allocations: 6.25 kB / 329.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008417/0.01049, allocations: 361.1 kB / 329.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.0105, allocations: 0 / 329.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.01052, allocations: 5.156 kB / 329.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.01053, allocations: 2.562 kB / 329.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.01082, allocations: 91.92 kB / 329.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.01128, allocations: 259.5 kB / 329.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.01183, allocations: 178.5 kB / 330 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.01207, allocations: 95.19 kB / 330.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004264/0.01249, allocations: 67.34 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.01254, allocations: 37.55 kB / 330.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.744e-06/0.01254, allocations: 3.938 kB / 330.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008445/0.01339, allocations: 240.6 kB / 330.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.01353, allocations: 122.4 kB / 330.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.01379, allocations: 194.5 kB / 330.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.01382, allocations: 26.64 kB / 330.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.01391, allocations: 105.4 kB / 330.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.01393, allocations: 7.625 kB / 330.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.01399, allocations: 34.33 kB / 330.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.01417, allocations: 330.2 kB / 331.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.839e-05/0.01423, allocations: 21.08 kB / 331.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.01435, allocations: 84.33 kB / 331.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.0145, allocations: 72.19 kB / 331.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.0145, allocations: 0.9375 kB / 331.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002228/0.01473, allocations: 113.8 kB / 331.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.01474, allocations: 5.656 kB / 331.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01475, allocations: 1.219 kB / 331.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01476, allocations: 1.156 kB / 331.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-05/0.01484, allocations: 19.3 kB / 331.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01485, allocations: 1.031 kB / 331.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.01492, allocations: 8.359 kB / 331.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.01493, allocations: 2.438 kB / 331.6 MB, free: 12.05 MB / 302.1 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.000147/0.01508, allocations: 144.6 kB / 331.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.01544, allocations: 163.3 kB / 331.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.01583, allocations: 179.5 kB / 332 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01584, allocations: 6.312 kB / 332.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.01584, allocations: 0 / 332.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01585, allocations: 1.125 kB / 332.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.01606, allocations: 150.3 kB / 332.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.01607, allocations: 1.094 kB / 332.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.01622, allocations: 36.22 kB / 332.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.01622, allocations: 1.219 kB / 332.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.01623, allocations: 1.156 kB / 332.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.01623, allocations: 5.25 kB / 332.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.01624, allocations: 5.109 kB / 332.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.01672, allocations: 292.4 kB / 332.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/0.01681, allocations: 39.12 kB / 332.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.01685, allocations: 11.05 kB / 332.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.01699, allocations: 14.47 kB / 332.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.01702, allocations: 1.188 kB / 332.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.01704, allocations: 7.609 kB / 332.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.01721, allocations: 151.3 kB / 332.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01721, allocations: 0 / 332.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.01751, allocations: 38.33 kB / 332.8 MB, free: 11.14 MB / 302.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.0002129/0.01772, allocations: 108.7 kB / 332.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.01804, allocations: 103 kB / 333 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01804, allocations: 0 / 333 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.01808, allocations: 9.109 kB / 333 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.01874, allocations: 151.8 kB / 333.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.01939, allocations: 319 kB / 333.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.01952, allocations: 119.5 kB / 333.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.441e-05/0.01956, allocations: 16.11 kB / 333.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.0196, allocations: 16.53 kB / 333.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.0196, allocations: 0 / 333.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Templates: time 0.00624/0.02584, allocations: 2.422 MB / 336 MB, free: 9.332 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] 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.494378965348005]