Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.002473/0.002473, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.00285/0.00285, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.013e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004014/0.004045, allocations: 1.772 MB / 274 MB, free: 0 / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.005624, allocations: 0.588 MB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.005764, allocations: 7.938 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.961e-05/0.005843, allocations: 7.875 kB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.00602, allocations: 19.84 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.006525, allocations: 99.58 kB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.00672, allocations: 99.69 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.006861, allocations: 21.56 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.007072, allocations: 59.88 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.007151, allocations: 35.89 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.007178, allocations: 8 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.75e-05/0.007236, allocations: 15.98 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.759e-05/0.007303, allocations: 27.84 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.007367, allocations: 27.92 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.007618, allocations: 115.5 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.007624, allocations: 4 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007625, allocations: 0 / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.007632, allocations: 0 / 275.1 MB, free: 14.86 MB / 266.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.0008022/0.008434, allocations: 455.7 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.008475, allocations: 15.98 kB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.008652, allocations: 32.84 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.008956, allocations: 180.2 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.008985, allocations: 8.375 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.009006, allocations: 12.38 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.009578, allocations: 274.6 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.009588, allocations: 192 / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.009607, allocations: 8.375 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.009614, allocations: 3.938 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.009769, allocations: 55.91 kB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.01019, allocations: 303 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.0105, allocations: 153.3 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.01067, allocations: 79.14 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.0107, allocations: 4 kB / 276.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.01074, allocations: 41.33 kB / 276.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.183e-06/0.01074, allocations: 0 / 276.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004622/0.0112, allocations: 181.4 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002475/0.01145, allocations: 127 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.01167, allocations: 218.5 kB / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.01169, allocations: 29.7 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.01179, allocations: 142.9 kB / 277.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.01182, allocations: 15.91 kB / 277.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.01188, allocations: 31.36 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.01215, allocations: 0.4923 MB / 277.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.0122, allocations: 11.98 kB / 277.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.893e-05/0.01229, allocations: 66.42 kB / 278 MB, free: 11.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.01243, allocations: 82.36 kB / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01243, allocations: 0 / 278.1 MB, free: 11.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001967/0.01263, allocations: 93.52 kB / 278.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.01265, allocations: 15.88 kB / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.01265, allocations: 0 / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.01266, allocations: 160 / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.01274, allocations: 15.92 kB / 278.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.01274, allocations: 4 kB / 278.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.01279, allocations: 8 kB / 278.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.0128, allocations: 0 / 278.2 MB, free: 11.44 MB / 266.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 0.000149/0.01295, allocations: 168.6 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.01317, allocations: 125.5 kB / 278.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.01323, allocations: 24.77 kB / 278.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01323, allocations: 0 / 278.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.01324, allocations: 7.938 kB / 278.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01324, allocations: 4 kB / 278.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.01345, allocations: 148.5 kB / 278.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.01346, allocations: 4 kB / 278.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.01357, allocations: 19.98 kB / 278.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.01357, allocations: 4 kB / 278.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.01359, allocations: 7.938 kB / 278.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01359, allocations: 400 / 278.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01359, allocations: 4 kB / 278.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.01398, allocations: 303.1 kB / 279 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.01405, allocations: 31.88 kB / 279 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.01408, allocations: 11.92 kB / 279.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.01416, allocations: 12 kB / 279.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.0142, allocations: 0 / 279.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.01421, allocations: 8 kB / 279.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.01434, allocations: 163.3 kB / 279.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01434, allocations: 0 / 279.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.01459, allocations: 20 kB / 279.3 MB, free: 10.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 0.0001389/0.01473, allocations: 107.2 kB / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.01496, allocations: 79.78 kB / 279.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01496, allocations: 0 / 279.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.015, allocations: 11.69 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.01549, allocations: 93.3 kB / 279.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.01612, allocations: 285.8 kB / 279.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.01624, allocations: 102 kB / 279.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.599e-05/0.01628, allocations: 12.92 kB / 279.9 MB, free: 9.574 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.01634, allocations: 20.48 kB / 280 MB, free: 9.555 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01634, allocations: 4 kB / 280 MB, free: 9.551 MB / 266.7 MB Notification: Performance of Templates: time 0.004849/0.02119, allocations: 1.217 MB / 281.2 MB, free: 8.348 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.460575005039573]