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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 115 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 200 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 47.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4067, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003888/0.4106, allocations: 1.749 MB / 402.5 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4118, allocations: 0.5336 MB / 403 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.412, allocations: 0 / 403 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.275e-05/0.4121, allocations: 15.81 kB / 403 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.4123, allocations: 15.86 kB / 403 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.4128, allocations: 102 kB / 403.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.413, allocations: 91.7 kB / 403.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.4132, allocations: 25.11 kB / 403.3 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.4133, allocations: 43.84 kB / 403.3 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.118e-05/0.4134, allocations: 39.78 kB / 403.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.4134, allocations: 12 kB / 403.3 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/0.4134, allocations: 8 kB / 403.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.4136, allocations: 31.83 kB / 403.4 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.935e-05/0.4136, allocations: 51.67 kB / 403.4 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.4139, allocations: 107.5 kB / 403.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4139, allocations: 0 / 403.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4139, allocations: 4 kB / 403.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.4139, allocations: 0 / 403.5 MB, free: 6.055 MB / 318.1 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.0007485/0.4147, allocations: 428.1 kB / 404 MB, free: 5.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.4147, allocations: 19.89 kB / 404 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.4148, allocations: 12.75 kB / 404 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.4151, allocations: 216 kB / 404.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.4152, allocations: 12.38 kB / 404.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.4152, allocations: 8.375 kB / 404.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.4158, allocations: 269.6 kB / 404.5 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4158, allocations: 4 kB / 404.5 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.4158, allocations: 7.984 kB / 404.5 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4159, allocations: 7.984 kB / 404.5 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.416, allocations: 47.92 kB / 404.6 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.4165, allocations: 306.4 kB / 404.9 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.4168, allocations: 135.9 kB / 405 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.4169, allocations: 70.66 kB / 405.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.4169, allocations: 7.938 kB / 405.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.417, allocations: 38.56 kB / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.417, allocations: 0 / 405.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004414/0.4174, allocations: 169.6 kB / 405.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.4176, allocations: 122.7 kB / 405.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4178, allocations: 146.2 kB / 405.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4178, allocations: 33.7 kB / 405.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.4179, allocations: 96.2 kB / 405.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.4179, allocations: 15.89 kB / 405.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.418, allocations: 41.61 kB / 405.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4181, allocations: 326.8 kB / 406 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.4182, allocations: 23.98 kB / 406.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.4184, allocations: 135.8 kB / 406.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.4186, allocations: 170.3 kB / 406.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4186, allocations: 3.938 kB / 406.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002838/0.4189, allocations: 177.2 kB / 406.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.4189, allocations: 8 kB / 406.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4189, allocations: 4.531 kB / 406.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.419, allocations: 8 kB / 406.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.4191, allocations: 27.92 kB / 406.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.4191, allocations: 15.92 kB / 406.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.504e-05/0.4192, allocations: 15.84 kB / 406.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.4193, allocations: 8 kB / 406.6 MB, free: 2.605 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (21): * Single equations (assignments): 21 * 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.000152/0.4194, allocations: 140.8 kB / 406.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4196, allocations: 125.7 kB / 406.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.4197, allocations: 20.7 kB / 406.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4197, allocations: 4 kB / 406.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.4197, allocations: 4 kB / 406.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4197, allocations: 3.938 kB / 406.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.42, allocations: 197.6 kB / 407.1 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.42, allocations: 0 / 407.1 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4201, allocations: 27.98 kB / 407.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4201, allocations: 0 / 407.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.4201, allocations: 4 kB / 407.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4201, allocations: 3.938 kB / 407.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4201, allocations: 0 / 407.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.4205, allocations: 253 kB / 407.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.4205, allocations: 104.8 kB / 407.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.4206, allocations: 8 kB / 407.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.4207, allocations: 11.98 kB / 407.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.4207, allocations: 3.938 kB / 407.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.4207, allocations: 4 kB / 407.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.23e-05/0.4208, allocations: 126 kB / 407.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4208, allocations: 0 / 407.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.4211, allocations: 20 kB / 407.7 MB, free: 1.461 MB / 318.1 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.0001418/0.4212, allocations: 114.3 kB / 407.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.4215, allocations: 108.7 kB / 407.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4216, allocations: 4 kB / 407.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.4216, allocations: 11.98 kB / 407.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.4221, allocations: 82.98 kB / 408 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.4226, allocations: 261.9 kB / 408.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.423, allocations: 0.7284 MB / 409 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.339e-05/0.423, allocations: 5.438 kB / 409 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.4231, allocations: 19.42 kB / 409 MB, free: 80 kB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4231, allocations: 0 / 409 MB, free: 80 kB / 318.1 MB Notification: Performance of Templates: time 0.004711/0.4278, allocations: 1.223 MB / 410.2 MB, free: 14.86 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches