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.001606/0.001606, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001726/0.001726, allocations: 210.2 kB / 24.47 MB, free: 3.996 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.509/1.509, allocations: 230.5 MB / 258.1 MB, free: 8.137 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.001973/0.001973, allocations: 71.83 kB / 378.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3156, allocations: 53.3 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003517/0.3191, allocations: 1.613 MB / 433.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3203, allocations: 0.5415 MB / 434.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3205, allocations: 3.938 kB / 434.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.565e-05/0.3205, allocations: 7.938 kB / 434.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.3207, allocations: 15.86 kB / 434.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.3211, allocations: 59.81 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3212, allocations: 43.91 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3213, allocations: 16.11 kB / 434.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3215, allocations: 35.86 kB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.3216, allocations: 23.8 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3216, allocations: 4 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.059e-05/0.3216, allocations: 7.984 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.3217, allocations: 8 kB / 434.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.3217, allocations: 39.73 kB / 434.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3219, allocations: 53.72 kB / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3219, allocations: 7.922 kB / 434.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.3219, allocations: 0 / 434.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3219, allocations: 3.938 kB / 434.5 MB, free: 4.891 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006093/0.3225, allocations: 383.1 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3226, allocations: 8.031 kB / 434.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.3228, allocations: 20.88 kB / 434.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.3231, allocations: 200.8 kB / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3231, allocations: 4.375 kB / 435.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3232, allocations: 3.938 kB / 435.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.3235, allocations: 117.9 kB / 435.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3235, allocations: 0 / 435.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3235, allocations: 3.984 kB / 435.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3235, allocations: 0 / 435.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.972e-05/0.3236, allocations: 27.92 kB / 435.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.324, allocations: 274.5 kB / 435.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.3242, allocations: 71.77 kB / 435.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.3242, allocations: 30.58 kB / 435.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3243, allocations: 7.984 kB / 435.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3243, allocations: 38.56 kB / 435.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.3243, allocations: 0 / 435.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002917/0.3246, allocations: 89.45 kB / 435.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/0.3247, allocations: 107.1 kB / 435.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3248, allocations: 160.5 kB / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3249, allocations: 25.7 kB / 436.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.3249, allocations: 88.14 kB / 436.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.3249, allocations: 4 kB / 436.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.325, allocations: 21.66 kB / 436.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3251, allocations: 314.8 kB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.3252, allocations: 11.98 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.3252, allocations: 39.42 kB / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.3254, allocations: 43.36 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3254, allocations: 0 / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001458/0.3255, allocations: 73.62 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3255, allocations: 8 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3255, allocations: 0 / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3255, allocations: 0 / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.3256, allocations: 19.86 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3256, allocations: 0 / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.3257, allocations: 7.938 kB / 436.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.3257, allocations: 4 kB / 436.7 MB, free: 2.426 MB / 334.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 0.0001042/0.3258, allocations: 122 kB / 436.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.3259, allocations: 53.55 kB / 436.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.3259, allocations: 15.86 kB / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3259, allocations: 4 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3259, allocations: 0 / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3259, allocations: 3.938 kB / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.3262, allocations: 169.7 kB / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3262, allocations: 0 / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.3262, allocations: 16.05 kB / 437.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3262, allocations: 0 / 437.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3262, allocations: 8 kB / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3262, allocations: 0 / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3262, allocations: 0 / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.3265, allocations: 181.1 kB / 437.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.3266, allocations: 97.05 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.3266, allocations: 0 / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.3266, allocations: 7.922 kB / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3267, allocations: 7.938 kB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3267, allocations: 0 / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.3268, allocations: 115.2 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3268, allocations: 0 / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000226/0.327, allocations: 4 kB / 437.5 MB, free: 1.531 MB / 334.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.0001369/0.3271, allocations: 107.2 kB / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.3273, allocations: 27.92 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3273, allocations: 0 / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.263e-05/0.3273, allocations: 15.98 kB / 437.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.3277, allocations: 26.77 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.3282, allocations: 226.4 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3285, allocations: 0.6885 MB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.3286, allocations: 15.42 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3286, allocations: 0 / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of Templates: time 0.002915/0.3315, allocations: 0.8571 MB / 439.4 MB, free: 15.51 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.936488874256611]