Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001778/0.001778, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002173/0.002173, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001964/0.001964, allocations: 64.77 kB / 379 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3108, allocations: 53.37 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003262/0.314, allocations: 1.581 MB / 434 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3152, allocations: 0.5804 MB / 434.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.727e-05/0.3153, allocations: 7.938 kB / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.3153, allocations: 3.938 kB / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.3155, allocations: 11.88 kB / 434.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.3158, allocations: 63.81 kB / 434.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.3159, allocations: 51.77 kB / 434.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3161, allocations: 8.188 kB / 434.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3162, allocations: 27.86 kB / 434.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.3163, allocations: 23.86 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3163, allocations: 7.984 kB / 434.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.425e-05/0.3163, allocations: 8 kB / 434.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.3164, allocations: 19.92 kB / 434.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.3164, allocations: 19.81 kB / 434.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.3166, allocations: 65.36 kB / 434.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.3166, allocations: 4 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3166, allocations: 0 / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3166, allocations: 0 / 434.9 MB, free: 4.469 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.0005766/0.3172, allocations: 300.4 kB / 435.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3172, allocations: 12.03 kB / 435.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.3174, allocations: 16.88 kB / 435.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3177, allocations: 154.3 kB / 435.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3177, allocations: 4.312 kB / 435.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3177, allocations: 8.375 kB / 435.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.318, allocations: 113.1 kB / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.318, allocations: 0 / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.318, allocations: 0 / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.318, allocations: 0 / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.3181, allocations: 19.98 kB / 435.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.3185, allocations: 240.7 kB / 435.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.761e-05/0.3186, allocations: 37.22 kB / 435.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.3186, allocations: 25.77 kB / 435.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3187, allocations: 0 / 435.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3187, allocations: 34.5 kB / 435.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3187, allocations: 0 / 435.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002594/0.3189, allocations: 77.56 kB / 435.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.319, allocations: 77.11 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3192, allocations: 140.4 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3192, allocations: 25.7 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.3192, allocations: 88.12 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.3193, allocations: 7.953 kB / 436.2 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.3193, allocations: 17.97 kB / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3195, allocations: 326.8 kB / 436.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.3195, allocations: 4 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.3195, allocations: 21.7 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.768e-05/0.3196, allocations: 33.7 kB / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3196, allocations: 0 / 436.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001155/0.3197, allocations: 53.64 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3197, allocations: 8 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3198, allocations: 0 / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3198, allocations: 0 / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.3198, allocations: 11.92 kB / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3199, allocations: 0 / 436.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.3199, allocations: 4 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3199, allocations: 4.062 kB / 436.7 MB, free: 2.418 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001054/0.32, allocations: 117.8 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.3201, allocations: 41.64 kB / 436.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.3201, allocations: 15.77 kB / 436.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3201, allocations: 3.938 kB / 436.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3201, allocations: 0 / 436.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3201, allocations: 4 kB / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.3203, allocations: 140.7 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3203, allocations: 4 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.3203, allocations: 15.95 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3203, allocations: 4 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.3203, allocations: 0 / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3203, allocations: 0 / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3203, allocations: 3.938 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.3205, allocations: 168.3 kB / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.3206, allocations: 7.953 kB / 437.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3206, allocations: 4 kB / 437.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.3207, allocations: 7.984 kB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.3207, allocations: 0 / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.3207, allocations: 4 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.265e-05/0.3208, allocations: 107.2 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3208, allocations: 0 / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.321, allocations: 4 kB / 437.3 MB, free: 1.699 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001045/0.3211, allocations: 99.28 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3213, allocations: 23.92 kB / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3213, allocations: 0 / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.3213, allocations: 11.98 kB / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3216, allocations: 18.78 kB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.322, allocations: 168 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.3223, allocations: 0.6885 MB / 438.3 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.504e-05/0.3224, allocations: 4 kB / 438.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.3224, allocations: 11.42 kB / 438.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3224, allocations: 0 / 438.4 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of Templates: time 0.003267/0.3257, allocations: 0.5489 MB / 438.9 MB, free: 80 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.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: 4.713086257688701]