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.SuperSample.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.00134/0.00134, allocations: 117.7 kB / 19.18 MB, free: 3.906 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.00154/0.00154, allocations: 201 kB / 22.12 MB, free: 0.9648 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.528/1.528, allocations: 230.4 MB / 255.4 MB, free: 15 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [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.002181/0.002181, allocations: 63.89 kB / 374.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1117, allocations: 53.31 MB / 428.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003996/0.1157, allocations: 1.605 MB / 429.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1171, allocations: 0.5727 MB / 430.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1172, allocations: 7.938 kB / 430.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.681e-05/0.1173, allocations: 7.938 kB / 430.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1174, allocations: 11.86 kB / 430.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.1179, allocations: 59.81 kB / 430.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.118, allocations: 59.72 kB / 430.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1181, allocations: 12.17 kB / 430.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1182, allocations: 27.86 kB / 430.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/0.1183, allocations: 23.86 kB / 430.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1183, allocations: 0 / 430.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.807e-05/0.1184, allocations: 12 kB / 430.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.1184, allocations: 19.91 kB / 430.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.1185, allocations: 23.81 kB / 430.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.1187, allocations: 59.67 kB / 430.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1187, allocations: 4 kB / 430.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1187, allocations: 4 kB / 430.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1187, allocations: 0 / 430.6 MB, free: 1.809 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.000563/0.1193, allocations: 379 kB / 430.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1193, allocations: 12.03 kB / 430.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.1195, allocations: 20.88 kB / 431 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.1198, allocations: 208.6 kB / 431.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1198, allocations: 384 / 431.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1198, allocations: 7.938 kB / 431.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.1201, allocations: 125.9 kB / 431.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1201, allocations: 0 / 431.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1201, allocations: 0 / 431.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1201, allocations: 0 / 431.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.1202, allocations: 23.92 kB / 431.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1206, allocations: 278.6 kB / 431.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.1207, allocations: 67.78 kB / 431.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.1208, allocations: 30.64 kB / 431.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1208, allocations: 4 kB / 431.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1208, allocations: 38.48 kB / 431.7 MB, free: 440 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1208, allocations: 0 / 431.7 MB, free: 440 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003092/0.1212, allocations: 85.52 kB / 431.8 MB, free: 348 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.337e-05/0.1213, allocations: 115.2 kB / 431.9 MB, free: 208 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1214, allocations: 146.5 kB / 432.1 MB, free: 52 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1214, allocations: 25.7 kB / 432.1 MB, free: 20 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.242/0.3634, allocations: 84.64 kB / 432.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.3634, allocations: 2.719 kB / 432.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.3635, allocations: 23.61 kB / 432.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.3636, allocations: 314.9 kB / 432.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.3636, allocations: 12.05 kB / 432.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.974e-05/0.3637, allocations: 34.44 kB / 432.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.908e-05/0.3638, allocations: 51.67 kB / 432.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3638, allocations: 1.344 kB / 432.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001763/0.364, allocations: 64.97 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.364, allocations: 6.5 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.364, allocations: 1.156 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.364, allocations: 1.344 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.3641, allocations: 10.25 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3641, allocations: 4.984 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.3642, allocations: 13.23 kB / 432.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3642, allocations: 6.969 kB / 432.7 MB, free: 10.89 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.315e-05/0.3643, allocations: 124.4 kB / 432.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.3644, allocations: 51.33 kB / 432.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.3644, allocations: 15.39 kB / 432.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3644, allocations: 5.547 kB / 432.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3644, allocations: 1.062 kB / 432.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3644, allocations: 1.641 kB / 432.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3646, allocations: 170.2 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3646, allocations: 0 / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.3646, allocations: 10.67 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3647, allocations: 4.688 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3647, allocations: 1.859 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3647, allocations: 5.125 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3647, allocations: 0.6562 kB / 433.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.3648, allocations: 183.4 kB / 433.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.3649, allocations: 90.09 kB / 433.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.3649, allocations: 2.234 kB / 433.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.365, allocations: 12.25 kB / 433.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.365, allocations: 5.828 kB / 433.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.365, allocations: 5.672 kB / 433.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.3651, allocations: 112 kB / 433.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3651, allocations: 3.5 kB / 433.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000238/0.3653, allocations: 5.656 kB / 433.5 MB, free: 10.23 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.0001155/0.3655, allocations: 97.17 kB / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.3656, allocations: 33.42 kB / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3656, allocations: 1.719 kB / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.906e-05/0.3657, allocations: 13.53 kB / 433.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.366, allocations: 24.22 kB / 433.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.3664, allocations: 212.5 kB / 433.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.3666, allocations: 0.695 MB / 434.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.3666, allocations: 9.5 kB / 434.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3666, allocations: 0 / 434.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of Templates: time 0.002494/0.3691, allocations: 0.8421 MB / 435.4 MB, free: 9.246 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.921847786055878]