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.001047/0.001047, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001154/0.001154, allocations: 156.5 kB / 24.55 MB, free: 16 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.001/1.001, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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 1.633e-06/1.633e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.708e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002341/0.002368, allocations: 1.895 MB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000971/0.003339, allocations: 0.7321 MB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.003436, allocations: 7.938 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.003571, allocations: 27.66 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.003716, allocations: 27.8 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.004177, allocations: 171.4 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.004351, allocations: 147.5 kB / 275.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.00447, allocations: 45.77 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.004625, allocations: 87.8 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.004715, allocations: 43.81 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.00474, allocations: 15.94 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.004825, allocations: 55.95 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.004891, allocations: 47.83 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.004935, allocations: 35.86 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.005147, allocations: 155.4 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.00515, allocations: 0 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005151, allocations: 0 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.005156, allocations: 4 kB / 276.4 MB, free: 13.94 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.000534/0.00569, allocations: 0.4921 MB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.005727, allocations: 11.98 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.00585, allocations: 32.78 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.006053, allocations: 188.4 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.006078, allocations: 8.562 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.006095, allocations: 16.38 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.00648, allocations: 289 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.006487, allocations: 0 / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.006499, allocations: 0 / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.006508, allocations: 8 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.059e-05/0.006568, allocations: 27.98 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.006866, allocations: 331.2 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.007095, allocations: 138.2 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.936e-05/0.007165, allocations: 59.41 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/0.007476, allocations: 67.94 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.007499, allocations: 41.38 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/0.0075, allocations: 0 / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002542/0.007755, allocations: 153.3 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.007812, allocations: 110.8 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.007937, allocations: 241.4 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.00795, allocations: 29.7 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.008006, allocations: 151.4 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.008038, allocations: 15.94 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.008072, allocations: 31.45 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.008172, allocations: 0.5 MB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.00819, allocations: 7.984 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.42e-05/0.008234, allocations: 80.14 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.615e-05/0.00828, allocations: 50.67 kB / 279.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008282, allocations: 0 / 279.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.796e-05/0.00837, allocations: 77.67 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.008383, allocations: 8 kB / 279.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.008389, allocations: 0 / 279.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.008401, allocations: 0 / 279.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.008463, allocations: 15.94 kB / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008469, allocations: 0 / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.972e-05/0.008508, allocations: 19.88 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.008515, allocations: 4 kB / 279.6 MB, free: 10.47 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 8.756e-05/0.008603, allocations: 172.5 kB / 279.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.008732, allocations: 112.5 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.008902, allocations: 135.2 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.008906, allocations: 4 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.00891, allocations: 0 / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.008915, allocations: 0 / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.009047, allocations: 168.5 kB / 280.1 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.009053, allocations: 4 kB / 280.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.009129, allocations: 27.98 kB / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.009133, allocations: 4 kB / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-06/0.009143, allocations: 0 / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.009144, allocations: 0 / 280.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.009147, allocations: 11.94 kB / 280.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.009336, allocations: 283.4 kB / 280.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.009388, allocations: 43.77 kB / 280.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.009416, allocations: 8 kB / 280.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.009473, allocations: 4 kB / 280.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.009504, allocations: 7.984 kB / 280.5 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.009516, allocations: 4 kB / 280.5 MB, free: 9.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.865e-05/0.009595, allocations: 172.4 kB / 280.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009595, allocations: 3.938 kB / 280.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.009773, allocations: 24 kB / 280.7 MB, free: 9.227 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.0001422/0.009915, allocations: 119.2 kB / 280.8 MB, free: 9.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01005, allocations: 58.5 kB / 280.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01005, allocations: 0 / 280.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-05/0.01007, allocations: 15.69 kB / 280.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.01043, allocations: 124.1 kB / 281 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.01103, allocations: 307.2 kB / 281.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.256e-05/0.01109, allocations: 84.05 kB / 281.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.057e-05/0.01112, allocations: 9.141 kB / 281.4 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.01115, allocations: 16.5 kB / 281.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01115, allocations: 0 / 281.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of Templates: time 0.004448/0.0156, allocations: 2.595 MB / 284 MB, free: 5.863 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7441553389653563]