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.00119/0.00119, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001262/0.001262, allocations: 165 kB / 24.56 MB, free: 12 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 0.9509/0.9509, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 3.637e-06/3.637e-06, allocations: 4 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.858e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003304/0.003333, allocations: 1.803 MB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.004402, allocations: 0.5957 MB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.004494, allocations: 7.938 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.79e-05/0.004552, allocations: 11.86 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.004691, allocations: 15.88 kB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.005108, allocations: 111.5 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.005252, allocations: 87.7 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.005363, allocations: 25.61 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.005518, allocations: 63.81 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.005576, allocations: 31.89 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.005598, allocations: 8 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.005637, allocations: 8 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.005685, allocations: 23.92 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.005736, allocations: 35.84 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.005903, allocations: 83.66 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005905, allocations: 4 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.005907, allocations: 7.922 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005912, allocations: 0 / 275.9 MB, free: 14.57 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.000474/0.006386, allocations: 448 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.006422, allocations: 12.03 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.006568, allocations: 32.83 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.006802, allocations: 170.7 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.006827, allocations: 8.375 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.006843, allocations: 12.38 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.007242, allocations: 257.1 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.007251, allocations: 192 / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.007262, allocations: 384 / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.007273, allocations: 11.88 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.487e-05/0.007338, allocations: 27.92 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.007644, allocations: 307 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.007839, allocations: 129.3 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.007952, allocations: 67.17 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.007973, allocations: 7.984 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.008002, allocations: 45.33 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/0.008004, allocations: 0 / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002888/0.008293, allocations: 137.4 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.00836, allocations: 118.8 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.008493, allocations: 214.4 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.008507, allocations: 25.7 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.00856, allocations: 138.9 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.008583, allocations: 28.16 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.008628, allocations: 23.38 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.008763, allocations: 0.4923 MB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.008785, allocations: 8 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.672e-05/0.008832, allocations: 54.42 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.794e-05/0.0089, allocations: 70.36 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.008902, allocations: 0 / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001239/0.009026, allocations: 85.52 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.00904, allocations: 7.938 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.009046, allocations: 4 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.009059, allocations: 0 / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.009113, allocations: 7.938 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.00912, allocations: 7.984 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.009155, allocations: 0 / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.009164, allocations: 4 kB / 278.8 MB, free: 11.34 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 8.967e-05/0.009253, allocations: 168 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.00948, allocations: 114 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.009516, allocations: 16.78 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.009522, allocations: 4 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.009527, allocations: 0 / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.009536, allocations: 3.984 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.0097, allocations: 148.5 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.009703, allocations: 7.875 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.009802, allocations: 23.98 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.009806, allocations: 0 / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.009822, allocations: 15.94 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.009824, allocations: 0 / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.009826, allocations: 0 / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.01008, allocations: 291 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.01013, allocations: 19.94 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.01015, allocations: 7.938 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.01023, allocations: 4 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.01025, allocations: 4 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.01026, allocations: 7.984 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.497e-05/0.01034, allocations: 151.2 kB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01034, allocations: 0 / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.01062, allocations: 20 kB / 279.8 MB, free: 10.28 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 8.219e-05/0.01071, allocations: 103.2 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.01085, allocations: 57.2 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01085, allocations: 4 kB / 280 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.656e-05/0.01087, allocations: 11.67 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.0113, allocations: 75.81 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.0119, allocations: 289 kB / 280.3 MB, free: 9.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.01196, allocations: 75.33 kB / 280.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.272e-05/0.01199, allocations: 4.969 kB / 280.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.01203, allocations: 16.5 kB / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01203, allocations: 0 / 280.4 MB, free: 9.594 MB / 266.7 MB Notification: Performance of Templates: time 0.002811/0.01484, allocations: 1.273 MB / 281.7 MB, free: 8.336 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","",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.7076755692251027]