Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001043/0.001043, 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.001067/0.001067, allocations: 141.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 0.9355/0.9355, allocations: 173.4 MB / 201.1 MB, free: 9.324 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.661e-05, allocations: 9.969 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.005688/0.005725, allocations: 1.788 MB / 269.8 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008565/0.006581, allocations: 0.5296 MB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/0.006673, allocations: 7.938 kB / 270.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.706e-05/0.00673, allocations: 7.875 kB / 270.3 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.006876, allocations: 31.73 kB / 270.4 MB, free: 4.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.01024, allocations: 87.69 kB / 270.5 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.01038, allocations: 95.64 kB / 270.5 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.01049, allocations: 17.3 kB / 270.6 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.01061, allocations: 51.89 kB / 270.6 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.01067, allocations: 35.88 kB / 270.6 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.01069, allocations: 8 kB / 270.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.01071, allocations: 8 kB / 270.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.01077, allocations: 31.84 kB / 270.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.01081, allocations: 31.91 kB / 270.7 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.01097, allocations: 83.59 kB / 270.8 MB, free: 3.586 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01097, allocations: 4 kB / 270.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01097, allocations: 0 / 270.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.01098, allocations: 0 / 270.8 MB, free: 3.582 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004789/0.01146, allocations: 448 kB / 271.3 MB, free: 3.109 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.01149, allocations: 8.031 kB / 271.3 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.01155, allocations: 20.84 kB / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.01176, allocations: 180.1 kB / 271.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.01178, allocations: 8.375 kB / 271.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.0118, allocations: 12.38 kB / 271.5 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.01221, allocations: 260.1 kB / 271.7 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.01222, allocations: 192 / 271.7 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.01223, allocations: 384 / 271.7 MB, free: 2.578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.01224, allocations: 7.938 kB / 271.7 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/0.0123, allocations: 27.92 kB / 271.8 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.0126, allocations: 287.2 kB / 272 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.01278, allocations: 133.1 kB / 272.2 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003087/0.01587, allocations: 67.36 kB / 272.2 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.01589, allocations: 7.938 kB / 272.2 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.01592, allocations: 41.33 kB / 272.3 MB, free: 1.914 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.01592, allocations: 0 / 272.3 MB, free: 1.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.000292/0.01621, allocations: 141.9 kB / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.01629, allocations: 118.8 kB / 272.5 MB, free: 1.629 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.01641, allocations: 201.9 kB / 272.7 MB, free: 1.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.01642, allocations: 29.7 kB / 272.8 MB, free: 1.379 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.01647, allocations: 142.9 kB / 272.9 MB, free: 1.234 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.01649, allocations: 3.953 kB / 272.9 MB, free: 1.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.01654, allocations: 43.44 kB / 273 MB, free: 1.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.01666, allocations: 496.1 kB / 273.4 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.01669, allocations: 15.94 kB / 273.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.01673, allocations: 54.45 kB / 273.5 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.033e-05/0.0168, allocations: 62.38 kB / 273.6 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.0168, allocations: 4 kB / 273.6 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001136/0.01692, allocations: 89.52 kB / 273.7 MB, free: 424 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01693, allocations: 10.91 kB / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01694, allocations: 0 / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01695, allocations: 7.938 kB / 273.7 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.01703, allocations: 7.984 kB / 273.7 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01703, allocations: 0 / 273.7 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.01707, allocations: 4 kB / 273.7 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.01708, allocations: 8 kB / 273.7 MB, free: 388 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.589e-05/0.01716, allocations: 172.6 kB / 273.9 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.0173, allocations: 105.5 kB / 274 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.01734, allocations: 24.77 kB / 274 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01734, allocations: 0 / 274 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01734, allocations: 4 kB / 274 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01735, allocations: 0 / 274 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.0175, allocations: 136.6 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0175, allocations: 4 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.01758, allocations: 27.92 kB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01759, allocations: 4 kB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.0176, allocations: 3.938 kB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.0176, allocations: 8 kB / 274.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.0176, allocations: 0 / 274.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.01781, allocations: 283.1 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.01786, allocations: 35.77 kB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.01789, allocations: 7.938 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.01795, allocations: 7.984 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.01798, allocations: 0 / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.01799, allocations: 4 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.673e-05/0.01805, allocations: 153.8 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01805, allocations: 0 / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.01829, allocations: 24 kB / 274.7 MB, free: 15.32 MB / 266.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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 9.505e-05/0.01839, allocations: 99.64 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.01852, allocations: 63.52 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01852, allocations: 0 / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.01854, allocations: 7.688 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/0.02196, allocations: 76.03 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.02256, allocations: 270.2 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.071e-05/0.02262, allocations: 75.33 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.995e-05/0.02265, allocations: 8.969 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.0227, allocations: 20.48 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of SimCode: time 9.61e-07/0.0227, allocations: 3.938 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of Templates: time 0.005954/0.02865, allocations: 1.281 MB / 276.6 MB, free: 13.37 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.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.8371130600571632]