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.001301/0.001301, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001446/0.001446, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.444/1.444, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.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 0.00186/0.00186, allocations: 67.89 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2461, allocations: 53.4 MB / 432.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003636/0.2497, allocations: 1.838 MB / 434.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.2512, allocations: 0.7088 MB / 434.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2513, allocations: 3.938 kB / 434.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2515, allocations: 31.72 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.2517, allocations: 27.78 kB / 435 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.2523, allocations: 159.6 kB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.2525, allocations: 151.6 kB / 435.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2527, allocations: 48.66 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.2528, allocations: 63.72 kB / 435.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.2529, allocations: 63.62 kB / 435.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.253, allocations: 12 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.2531, allocations: 55.97 kB / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.744e-05/0.2532, allocations: 39.78 kB / 435.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.104e-05/0.2533, allocations: 63.64 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.2536, allocations: 198.9 kB / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2536, allocations: 0 / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2536, allocations: 0 / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2536, allocations: 0 / 435.8 MB, free: 3.094 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.0008048/0.2544, allocations: 417.5 kB / 436.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2544, allocations: 11.98 kB / 436.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.2546, allocations: 28.8 kB / 436.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.255, allocations: 194.7 kB / 436.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.255, allocations: 4.562 kB / 436.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.255, allocations: 16.12 kB / 436.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/0.2557, allocations: 358.4 kB / 436.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.2558, allocations: 0 / 436.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.2558, allocations: 8 kB / 436.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2558, allocations: 0 / 436.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.256, allocations: 79.94 kB / 436.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.2564, allocations: 273.2 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.2569, allocations: 181 kB / 437.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.2571, allocations: 101.5 kB / 437.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00039/0.2575, allocations: 55.94 kB / 437.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.2575, allocations: 34.56 kB / 437.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.2575, allocations: 0 / 437.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.000621/0.2581, allocations: 245.2 kB / 437.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.2582, allocations: 114.8 kB / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.2584, allocations: 194.8 kB / 438.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.2584, allocations: 29.7 kB / 438.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.2585, allocations: 108.6 kB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.2586, allocations: 23.88 kB / 438.3 MB, free: 484 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.2586, allocations: 33.72 kB / 438.3 MB, free: 444 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2588, allocations: 330.8 kB / 438.6 MB, free: 104 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.603e-05/0.2589, allocations: 44.09 kB / 438.7 MB, free: 60 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2591, allocations: 190.2 kB / 438.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.2593, allocations: 208.1 kB / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2593, allocations: 0 / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003386/0.2597, allocations: 213.2 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2597, allocations: 15.03 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2597, allocations: 4 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2597, allocations: 12 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.2599, allocations: 39.92 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.2599, allocations: 11.92 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.26, allocations: 23.83 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.26, allocations: 12 kB / 439.4 MB, free: 15.22 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.0001562/0.2602, allocations: 149.6 kB / 439.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.2605, allocations: 161.5 kB / 439.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.2609, allocations: 187.2 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2609, allocations: 4 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2609, allocations: 0 / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2609, allocations: 0 / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.2611, allocations: 157.2 kB / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2611, allocations: 0 / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.2612, allocations: 27.98 kB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.2612, allocations: 3.984 kB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.2612, allocations: 11.94 kB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2612, allocations: 4 kB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2612, allocations: 0 / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.2617, allocations: 284.1 kB / 440.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.2617, allocations: 39.81 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.2618, allocations: 11.94 kB / 440.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2619, allocations: 7.984 kB / 440.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.2619, allocations: 8 kB / 440.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.262, allocations: 8 kB / 440.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.2621, allocations: 156 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2621, allocations: 0 / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.2624, allocations: 35.92 kB / 440.6 MB, free: 13.91 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.0001623/0.2626, allocations: 115.1 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.2629, allocations: 144.9 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2629, allocations: 0 / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.491e-05/0.2629, allocations: 4 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.2635, allocations: 141.6 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.2642, allocations: 366.7 kB / 441.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.2643, allocations: 131.7 kB / 441.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.2643, allocations: 15.44 kB / 441.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2643, allocations: 0 / 441.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of Templates: time 0.004268/0.2686, allocations: 2.308 MB / 443.8 MB, free: 10.64 MB / 350.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/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_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: 6.996912880335003]