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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 97.66 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 204.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002495/0.0002496, allocations: 8.281 kB / 308.4 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.111, allocations: 51.52 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002399/0.1135, allocations: 1.471 MB / 361.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1148, allocations: 0.5766 MB / 362 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.115, allocations: 7.938 kB / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.25e-05/0.115, allocations: 3.938 kB / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1152, allocations: 15.86 kB / 362 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.1156, allocations: 95.78 kB / 362.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1158, allocations: 91.69 kB / 362.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1159, allocations: 25.44 kB / 362.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.116, allocations: 43.77 kB / 362.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.1161, allocations: 43.72 kB / 362.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1162, allocations: 4 kB / 362.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.868e-05/0.1162, allocations: 8 kB / 362.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.1163, allocations: 23.91 kB / 362.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1164, allocations: 69.38 kB / 362.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1165, allocations: 75.84 kB / 362.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1165, allocations: 0 / 362.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1165, allocations: 0 / 362.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1165, allocations: 0 / 362.5 MB, free: 10.71 MB / 302.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.0006079/0.1171, allocations: 411.3 kB / 362.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1172, allocations: 8.031 kB / 362.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.1174, allocations: 28.73 kB / 362.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1176, allocations: 217 kB / 363.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.1177, allocations: 8.375 kB / 363.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1177, allocations: 8.375 kB / 363.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.1182, allocations: 278 kB / 363.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1182, allocations: 4 kB / 363.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1183, allocations: 7.984 kB / 363.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1183, allocations: 0 / 363.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.1184, allocations: 55.91 kB / 363.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.1188, allocations: 310.4 kB / 363.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.1191, allocations: 135.7 kB / 363.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1192, allocations: 78.84 kB / 364 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.1193, allocations: 3.938 kB / 364 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1193, allocations: 42.5 kB / 364 MB, free: 8.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.1193, allocations: 0 / 364 MB, free: 8.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004205/0.1197, allocations: 181.9 kB / 364.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.1198, allocations: 126.7 kB / 364.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.12, allocations: 154.2 kB / 364.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.12, allocations: 29.7 kB / 364.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.1201, allocations: 96.09 kB / 364.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1201, allocations: 15.89 kB / 364.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1201, allocations: 21.7 kB / 364.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1203, allocations: 330.9 kB / 365 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.071e-05/0.1203, allocations: 27.92 kB / 365 MB, free: 7.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.1205, allocations: 137.9 kB / 365.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.1208, allocations: 174.3 kB / 365.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1208, allocations: 0 / 365.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002891/0.1211, allocations: 185.1 kB / 365.5 MB, free: 7.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1211, allocations: 8 kB / 365.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1211, allocations: 4 kB / 365.5 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1211, allocations: 4.531 kB / 365.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1213, allocations: 35.92 kB / 365.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1213, allocations: 11.92 kB / 365.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.829e-05/0.1214, allocations: 23.84 kB / 365.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1214, allocations: 8 kB / 365.6 MB, free: 7.23 MB / 302.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.0001264/0.1215, allocations: 141.7 kB / 365.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.1217, allocations: 117.5 kB / 365.8 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.1218, allocations: 20.7 kB / 365.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1218, allocations: 4 kB / 365.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1218, allocations: 0 / 365.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1218, allocations: 7.938 kB / 365.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.1221, allocations: 201.5 kB / 366 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1221, allocations: 0 / 366 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1222, allocations: 23.98 kB / 366.1 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1222, allocations: 7.938 kB / 366.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1222, allocations: 0 / 366.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1222, allocations: 0 / 366.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1222, allocations: 4 kB / 366.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.1225, allocations: 257 kB / 366.3 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.1226, allocations: 104.9 kB / 366.4 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1226, allocations: 7.938 kB / 366.4 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.1227, allocations: 11.98 kB / 366.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.1228, allocations: 4 kB / 366.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1228, allocations: 7.938 kB / 366.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.218e-05/0.1229, allocations: 124.1 kB / 366.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1229, allocations: 0 / 366.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1232, allocations: 20 kB / 366.6 MB, free: 6.078 MB / 302.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.0001962/0.1234, allocations: 107.2 kB / 366.7 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.1236, allocations: 111.8 kB / 366.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1237, allocations: 0 / 366.8 MB, free: 5.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.1237, allocations: 15.98 kB / 366.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.1242, allocations: 77.05 kB / 366.9 MB, free: 5.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.1247, allocations: 355.9 kB / 367.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1251, allocations: 0.7243 MB / 368 MB, free: 4.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.1251, allocations: 15.44 kB / 368 MB, free: 4.613 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1251, allocations: 0 / 368 MB, free: 4.613 MB / 302.1 MB Notification: Performance of Templates: time 0.003117/0.1283, allocations: 1.463 MB / 369.5 MB, free: 3.152 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches