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.001854/0.001854, allocations: 116.3 kB / 19.17 MB, free: 3.852 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.002028/0.002028, allocations: 205 kB / 22.12 MB, free: 0.9062 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.606/1.606, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.002512/0.002512, allocations: 63.89 kB / 374.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1169, allocations: 53.32 MB / 427.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003276/0.1202, allocations: 1.867 MB / 429.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1216, allocations: 0.7672 MB / 430.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.743e-05/0.1217, allocations: 4 kB / 430.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.1218, allocations: 19.73 kB / 430.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.122, allocations: 27.78 kB / 430.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.1225, allocations: 166.8 kB / 430.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.1227, allocations: 151.6 kB / 430.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.1228, allocations: 37.53 kB / 430.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.123, allocations: 63.7 kB / 430.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1231, allocations: 71.62 kB / 431 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.1231, allocations: 12 kB / 431 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1232, allocations: 51.97 kB / 431.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.03e-05/0.1233, allocations: 35.91 kB / 431.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.623e-05/0.1234, allocations: 83.45 kB / 431.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.1237, allocations: 199.1 kB / 431.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1237, allocations: 0 / 431.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1237, allocations: 8 kB / 431.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1237, allocations: 0 / 431.4 MB, free: 0.9062 MB / 350.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.000754/0.1245, allocations: 478.7 kB / 431.9 MB, free: 400 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1245, allocations: 8.031 kB / 431.9 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.1247, allocations: 32.78 kB / 431.9 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.125, allocations: 256.1 kB / 432.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1251, allocations: 8.562 kB / 432.2 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1251, allocations: 12.12 kB / 432.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006893/0.1258, allocations: 331.7 kB / 432.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1258, allocations: 3.938 kB / 432.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1258, allocations: 4 kB / 432.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1258, allocations: 4 kB / 432.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.126, allocations: 83.94 kB / 432.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1265, allocations: 341.5 kB / 432.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.127, allocations: 270 kB / 433.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.1272, allocations: 90.02 kB / 433.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006839/0.1279, allocations: 0.5895 MB / 433.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1279, allocations: 34.56 kB / 433.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.1279, allocations: 0 / 433.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005874/0.1285, allocations: 239.3 kB / 434.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.1286, allocations: 118.8 kB / 434.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1288, allocations: 195.3 kB / 434.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1288, allocations: 29.7 kB / 434.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.1289, allocations: 112.5 kB / 434.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.1289, allocations: 27.77 kB / 434.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.129, allocations: 37.7 kB / 434.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1291, allocations: 322.8 kB / 435 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.1292, allocations: 39.97 kB / 435 MB, free: 12.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.1294, allocations: 169.1 kB / 435.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.1297, allocations: 204.1 kB / 435.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1297, allocations: 0 / 435.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003484/0.13, allocations: 217.2 kB / 435.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.13, allocations: 8 kB / 435.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.13, allocations: 4 kB / 435.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.13, allocations: 4 kB / 435.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1302, allocations: 51.91 kB / 435.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1302, allocations: 8.469 kB / 435.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1303, allocations: 19.95 kB / 435.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1303, allocations: 8 kB / 435.7 MB, free: 12.09 MB / 366.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.0001628/0.1305, allocations: 157.7 kB / 435.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.1308, allocations: 163.8 kB / 436 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.1312, allocations: 183.3 kB / 436.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.1312, allocations: 7.984 kB / 436.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1312, allocations: 4 kB / 436.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1312, allocations: 0 / 436.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.1315, allocations: 233.4 kB / 436.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.1315, allocations: 3.938 kB / 436.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1316, allocations: 31.98 kB / 436.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1316, allocations: 4 kB / 436.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1316, allocations: 3.984 kB / 436.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1316, allocations: 4 kB / 436.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1316, allocations: 0 / 436.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.1321, allocations: 292.1 kB / 436.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1322, allocations: 116.9 kB / 436.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.1322, allocations: 8 kB / 436.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1323, allocations: 11.98 kB / 436.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.1324, allocations: 4 kB / 436.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1324, allocations: 8 kB / 436.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1325, allocations: 151 kB / 437 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1325, allocations: 0 / 437 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1328, allocations: 28 kB / 437.1 MB, free: 10.59 MB / 366.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.0001895/0.133, allocations: 111.2 kB / 437.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1334, allocations: 145.5 kB / 437.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1334, allocations: 0 / 437.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.1334, allocations: 8 kB / 437.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.134, allocations: 142.5 kB / 437.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.1347, allocations: 366.4 kB / 437.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1351, allocations: 0.736 MB / 438.5 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.1351, allocations: 15.44 kB / 438.6 MB, free: 9.016 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1351, allocations: 4 kB / 438.6 MB, free: 9.012 MB / 366.1 MB Notification: Performance of Templates: time 0.004408/0.1395, allocations: 2.287 MB / 440.9 MB, free: 6.73 MB / 366.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: 7.594605382997543]