Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002553/0.002553, allocations: 99.59 kB / 20.97 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002992/0.002992, allocations: 157.7 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.691/1.691, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.759e-05/3.982e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003479/0.003519, allocations: 1.776 MB / 274.1 MB, free: 16 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.004983, allocations: 0.5881 MB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.0051, allocations: 3.938 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.979e-05/0.00517, allocations: 7.875 kB / 274.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.005331, allocations: 23.8 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.0058, allocations: 103.6 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.005977, allocations: 91.7 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.006118, allocations: 25.56 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.006318, allocations: 67.8 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.006402, allocations: 35.89 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.00643, allocations: 8 kB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.64e-05/0.006476, allocations: 8 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.006543, allocations: 27.86 kB / 275.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.006599, allocations: 27.91 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.006833, allocations: 115.6 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.006837, allocations: 0 / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006838, allocations: 3.938 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.006844, allocations: 0 / 275.2 MB, free: 14.88 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.0007305/0.007574, allocations: 463.7 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.007611, allocations: 8.031 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.007811, allocations: 32.83 kB / 275.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.008129, allocations: 176.9 kB / 275.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.008156, allocations: 8.375 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.008172, allocations: 4.375 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.008749, allocations: 282.3 kB / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.008759, allocations: 192 / 276.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.008774, allocations: 8.375 kB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.008785, allocations: 7.938 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.00893, allocations: 39.92 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/0.009691, allocations: 307.1 kB / 276.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.01004, allocations: 153.4 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.01019, allocations: 75.11 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.01023, allocations: 7.984 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.01027, allocations: 45.27 kB / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.01028, allocations: 0 / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000494/0.01077, allocations: 177.4 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.0109, allocations: 115 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.01113, allocations: 226.4 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.01116, allocations: 29.7 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01126, allocations: 142.9 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.01129, allocations: 19.89 kB / 277.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.01135, allocations: 27.38 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000284/0.01163, allocations: 0.4962 MB / 278 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.01168, allocations: 8 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.01179, allocations: 74.48 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.01193, allocations: 78.36 kB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01193, allocations: 0 / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001829/0.01212, allocations: 97.5 kB / 278.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.01214, allocations: 12.09 kB / 278.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.01214, allocations: 4 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01216, allocations: 0 / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.01223, allocations: 11.94 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.01224, allocations: 4 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.01229, allocations: 7.984 kB / 278.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.0123, allocations: 4 kB / 278.3 MB, free: 11.46 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.0001466/0.01244, allocations: 172.5 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.01266, allocations: 121.5 kB / 278.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.01273, allocations: 16.78 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.01273, allocations: 11.98 kB / 278.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.01274, allocations: 0 / 278.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01274, allocations: 0 / 278.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.01295, allocations: 156.5 kB / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01296, allocations: 0 / 278.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.01307, allocations: 27.92 kB / 278.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01307, allocations: 0 / 278.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.01309, allocations: 15.92 kB / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01309, allocations: 0 / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01309, allocations: 0 / 278.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.01349, allocations: 309.7 kB / 279.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.01356, allocations: 23.89 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.01359, allocations: 11.94 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.01368, allocations: 4 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.01372, allocations: 11.92 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.01374, allocations: 4 kB / 279.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.01386, allocations: 159.2 kB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01386, allocations: 0 / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.0141, allocations: 12 kB / 279.4 MB, free: 10.35 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.0001459/0.01424, allocations: 103.2 kB / 279.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.01447, allocations: 79.59 kB / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01448, allocations: 0 / 279.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.711e-05/0.01451, allocations: 15.62 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.01502, allocations: 84.66 kB / 279.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.0156, allocations: 289 kB / 279.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.01573, allocations: 106.1 kB / 280 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.211e-05/0.01577, allocations: 8.969 kB / 280 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.01581, allocations: 16.5 kB / 280.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01582, allocations: 0 / 280.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of Templates: time 0.004835/0.02065, allocations: 1.237 MB / 281.3 MB, free: 8.371 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.750083787017502]