Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.008/1.008, allocations: 173.4 MB / 201.1 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.816e-05, allocations: 2.312 kB / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.005293/0.005311, allocations: 1.619 MB / 269.6 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.006055, allocations: 0.4906 MB / 270.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.006126, allocations: 0 / 270.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.335e-05/0.006179, allocations: 7.922 kB / 270.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.006318, allocations: 15.86 kB / 270.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.006553, allocations: 51.77 kB / 270.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.006659, allocations: 55.77 kB / 270.2 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.006751, allocations: 8.188 kB / 270.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.00683, allocations: 31.91 kB / 270.3 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.006878, allocations: 15.91 kB / 270.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.006899, allocations: 4 kB / 270.3 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.006909, allocations: 7.938 kB / 270.3 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.00695, allocations: 8 kB / 270.3 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.006978, allocations: 15.92 kB / 270.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.007083, allocations: 43.83 kB / 270.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.007085, allocations: 0 / 270.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007086, allocations: 4 kB / 270.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.007089, allocations: 0 / 270.4 MB, free: 4.012 MB / 250.7 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.000376/0.007465, allocations: 404.2 kB / 270.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003035/0.0105, allocations: 8.031 kB / 270.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.01054, allocations: 16.84 kB / 270.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.01073, allocations: 148.4 kB / 270.9 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.01074, allocations: 4.312 kB / 271 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.01075, allocations: 4.375 kB / 271 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.01098, allocations: 137.3 kB / 271.1 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.01099, allocations: 192 / 271.1 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.011, allocations: 4.125 kB / 271.1 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.011, allocations: 0 / 271.1 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.673e-05/0.01103, allocations: 11.94 kB / 271.1 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.01128, allocations: 271.2 kB / 271.4 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.576e-05/0.01136, allocations: 93.17 kB / 271.5 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.0114, allocations: 39.19 kB / 271.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.01141, allocations: 0 / 271.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.01144, allocations: 45.31 kB / 271.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.01144, allocations: 0 / 271.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001719/0.01161, allocations: 69.52 kB / 271.6 MB, free: 2.582 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.01165, allocations: 102.8 kB / 271.7 MB, free: 2.457 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.01175, allocations: 193.9 kB / 271.9 MB, free: 2.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.01176, allocations: 26.08 kB / 271.9 MB, free: 2.219 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.01181, allocations: 142.9 kB / 272.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.01182, allocations: 7.953 kB / 272.1 MB, free: 2.066 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.01185, allocations: 19.38 kB / 272.1 MB, free: 2.039 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.012, allocations: 496.1 kB / 272.6 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.01201, allocations: 4 kB / 272.6 MB, free: 1.539 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.01202, allocations: 11.92 kB / 272.6 MB, free: 1.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.01204, allocations: 7.688 kB / 272.6 MB, free: 1.516 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01204, allocations: 0 / 272.6 MB, free: 1.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.184e-05/0.01209, allocations: 41.59 kB / 272.6 MB, free: 1.469 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.01211, allocations: 8.094 kB / 272.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01211, allocations: 4 kB / 272.7 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.01212, allocations: 0 / 272.7 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.01218, allocations: 3.984 kB / 272.7 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01219, allocations: 0 / 272.7 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.01221, allocations: 4 kB / 272.7 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.01221, allocations: 4 kB / 272.7 MB, free: 1.445 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.991e-05/0.01227, allocations: 156.6 kB / 272.8 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.01233, allocations: 57.52 kB / 272.9 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.01235, allocations: 12.03 kB / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.01236, allocations: 4 kB / 272.9 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01236, allocations: 0 / 272.9 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.01237, allocations: 0 / 272.9 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.01249, allocations: 132.6 kB / 273 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01249, allocations: 0 / 273 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.01253, allocations: 11.94 kB / 273 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01253, allocations: 3.984 kB / 273 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.01254, allocations: 3.938 kB / 273 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01254, allocations: 4 kB / 273 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01254, allocations: 0 / 273 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.01265, allocations: 227.2 kB / 273.3 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.01268, allocations: 7.953 kB / 273.3 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.01269, allocations: 11.92 kB / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.01274, allocations: 0 / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.01277, allocations: 8 kB / 273.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.01277, allocations: 3.938 kB / 273.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.01283, allocations: 150.2 kB / 273.4 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01283, allocations: 0 / 273.4 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.01304, allocations: 4 kB / 273.4 MB, free: 0.582 MB / 250.7 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 6.317e-05/0.0131, allocations: 103.2 kB / 273.5 MB, free: 484 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.043e-05/0.01317, allocations: 19.62 kB / 273.6 MB, free: 460 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01317, allocations: 0 / 273.6 MB, free: 460 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.01319, allocations: 15.62 kB / 273.6 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.01648, allocations: 23.98 kB / 273.6 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.01695, allocations: 192.6 kB / 273.8 MB, free: 188 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.997e-05/0.01699, allocations: 67.28 kB / 273.9 MB, free: 100 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.024e-05/0.01701, allocations: 4 kB / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.01703, allocations: 8.5 kB / 273.9 MB, free: 88 kB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01703, allocations: 4 kB / 273.9 MB, free: 84 kB / 250.7 MB Notification: Performance of Templates: time 0.004442/0.02147, allocations: 0.6576 MB / 274.5 MB, free: 15.43 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.686601090244949]