Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001617/0.001617, allocations: 114.7 kB / 19.17 MB, free: 3.895 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.001651/0.001651, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 230.4 MB / 255.4 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.89 kB / 374.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1419, allocations: 53.31 MB / 428.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003188/0.145, allocations: 1.591 MB / 429.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1461, allocations: 0.5493 MB / 430.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.1462, allocations: 0 / 430.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.318e-05/0.1463, allocations: 11.88 kB / 430.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.1464, allocations: 7.922 kB / 430.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1467, allocations: 55.83 kB / 430.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.1469, allocations: 55.77 kB / 430.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.147, allocations: 12.19 kB / 430.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1471, allocations: 35.86 kB / 430.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.1472, allocations: 23.84 kB / 430.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1472, allocations: 4 kB / 430.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.1472, allocations: 7.938 kB / 430.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.1473, allocations: 19.92 kB / 430.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.1473, allocations: 23.81 kB / 430.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1475, allocations: 59.67 kB / 430.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1475, allocations: 0 / 430.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1475, allocations: 0 / 430.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1475, allocations: 0 / 430.5 MB, free: 1.848 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005662/0.1481, allocations: 387 kB / 430.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1481, allocations: 8.031 kB / 430.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1482, allocations: 20.88 kB / 430.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.1485, allocations: 212.6 kB / 431.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1486, allocations: 4.375 kB / 431.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1486, allocations: 7.938 kB / 431.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.1489, allocations: 113.9 kB / 431.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1489, allocations: 0 / 431.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1489, allocations: 8 kB / 431.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.1489, allocations: 0 / 431.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.082e-05/0.149, allocations: 31.91 kB / 431.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.1494, allocations: 266.6 kB / 431.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.1495, allocations: 71.78 kB / 431.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.1496, allocations: 26.64 kB / 431.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1496, allocations: 4 kB / 431.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1496, allocations: 42.48 kB / 431.7 MB, free: 472 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1496, allocations: 0 / 431.7 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003/0.1499, allocations: 89.52 kB / 431.8 MB, free: 376 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.15, allocations: 102.8 kB / 431.9 MB, free: 248 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.1502, allocations: 150.5 kB / 432 MB, free: 88 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1502, allocations: 25.7 kB / 432.1 MB, free: 56 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2412/0.3914, allocations: 88.02 kB / 432.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.3915, allocations: 1.781 kB / 432.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.3915, allocations: 24.25 kB / 432.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.3916, allocations: 318.3 kB / 432.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.3917, allocations: 12.88 kB / 432.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.3917, allocations: 28.08 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3918, allocations: 54.78 kB / 432.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3918, allocations: 2.031 kB / 432.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001811/0.392, allocations: 67.72 kB / 432.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.392, allocations: 5.281 kB / 432.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.392, allocations: 1.656 kB / 432.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.3921, allocations: 2.031 kB / 432.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.3922, allocations: 10.5 kB / 432.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3922, allocations: 4.438 kB / 432.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.3922, allocations: 14.33 kB / 432.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3922, allocations: 3.016 kB / 432.7 MB, free: 10.85 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.233e-05/0.3923, allocations: 119.2 kB / 432.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.3924, allocations: 54.45 kB / 432.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.3924, allocations: 13.05 kB / 432.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3924, allocations: 1.875 kB / 432.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3925, allocations: 6.797 kB / 432.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3925, allocations: 4.25 kB / 432.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.3926, allocations: 170.4 kB / 433 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3926, allocations: 0.625 kB / 433 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/0.3927, allocations: 12.88 kB / 433.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3927, allocations: 1.609 kB / 433.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.3927, allocations: 1.344 kB / 433.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3927, allocations: 9.062 kB / 433.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3927, allocations: 1.344 kB / 433.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.3929, allocations: 177.3 kB / 433.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.3929, allocations: 94.95 kB / 433.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.393, allocations: 1.031 kB / 433.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.393, allocations: 6.953 kB / 433.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.3931, allocations: 6.094 kB / 433.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3931, allocations: 2.422 kB / 433.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.559e-05/0.3932, allocations: 120.3 kB / 433.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3932, allocations: 3.562 kB / 433.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3934, allocations: 5.25 kB / 433.5 MB, free: 10.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001098/0.3935, allocations: 95.5 kB / 433.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.3937, allocations: 35.16 kB / 433.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3937, allocations: 3.5 kB / 433.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.3938, allocations: 7.578 kB / 433.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.3942, allocations: 30.91 kB / 433.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.3946, allocations: 204.7 kB / 433.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.3947, allocations: 0.6942 MB / 434.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.3948, allocations: 13.02 kB / 434.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3948, allocations: 0 / 434.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of Templates: time 0.002707/0.3975, allocations: 0.8363 MB / 435.4 MB, free: 9.207 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.863905489211902]