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.001421/0.00142, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 64.95 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1142, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002986/0.1172, allocations: 1.752 MB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1183, allocations: 0.6038 MB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.564e-05/0.1184, allocations: 7.938 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.144e-05/0.1185, allocations: 7.875 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.1187, allocations: 15.86 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.1191, allocations: 107.3 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1193, allocations: 103.6 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1194, allocations: 33.42 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1195, allocations: 47.83 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.1196, allocations: 39.78 kB / 361.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1196, allocations: 8 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-05/0.1197, allocations: 12 kB / 361.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.1198, allocations: 31.89 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.1198, allocations: 51.61 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.12, allocations: 115.5 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.12, allocations: 0 / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.12, allocations: 4 kB / 361.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.12, allocations: 0 / 361.8 MB, free: 10.38 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.0005499/0.1206, allocations: 422.9 kB / 362.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1206, allocations: 8.031 kB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1208, allocations: 32.67 kB / 362.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.1211, allocations: 233 kB / 362.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.1211, allocations: 8.375 kB / 362.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.1212, allocations: 12.38 kB / 362.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.1216, allocations: 262.6 kB / 362.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1217, allocations: 0 / 362.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1217, allocations: 4 kB / 362.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1217, allocations: 0 / 362.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1218, allocations: 51.91 kB / 362.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.1222, allocations: 310.4 kB / 363.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1225, allocations: 131.7 kB / 363.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1226, allocations: 82.56 kB / 363.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.1226, allocations: 8.109 kB / 363.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.1227, allocations: 34.56 kB / 363.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.1227, allocations: 0 / 363.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004093/0.1231, allocations: 177.5 kB / 363.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.1232, allocations: 118.8 kB / 363.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1233, allocations: 154.2 kB / 363.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1234, allocations: 33.7 kB / 363.9 MB, free: 8.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.1234, allocations: 96.08 kB / 364 MB, free: 7.992 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1234, allocations: 11.91 kB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.1235, allocations: 37.61 kB / 364 MB, free: 7.938 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1236, allocations: 330.8 kB / 364.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.1237, allocations: 27.98 kB / 364.4 MB, free: 7.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1239, allocations: 138 kB / 364.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.1241, allocations: 182.3 kB / 364.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1241, allocations: 0 / 364.7 MB, free: 7.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003024/0.1244, allocations: 177.5 kB / 364.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1244, allocations: 8 kB / 364.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1244, allocations: 4 kB / 364.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1244, allocations: 4 kB / 364.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1246, allocations: 27.92 kB / 364.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.1246, allocations: 11.94 kB / 364.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.1247, allocations: 19.83 kB / 364.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1247, allocations: 8 kB / 364.9 MB, free: 6.902 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.0001291/0.1249, allocations: 152.3 kB / 365.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.1251, allocations: 129.8 kB / 365.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.1251, allocations: 16.72 kB / 365.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1251, allocations: 0 / 365.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1251, allocations: 4.094 kB / 365.2 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.1252, allocations: 11.86 kB / 365.2 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.1254, allocations: 193.6 kB / 365.4 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.1254, allocations: 3.984 kB / 365.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1255, allocations: 23.98 kB / 365.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1255, allocations: 4 kB / 365.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1255, allocations: 8 kB / 365.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1256, allocations: 3.938 kB / 365.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1256, allocations: 4 kB / 365.5 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1259, allocations: 241 kB / 365.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.126, allocations: 112.9 kB / 365.8 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.126, allocations: 0 / 365.8 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.1261, allocations: 8 kB / 365.8 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.1261, allocations: 7.922 kB / 365.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1262, allocations: 4 kB / 365.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.464e-05/0.1263, allocations: 120.1 kB / 366 MB, free: 5.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.114e-06/0.1263, allocations: 0 / 366 MB, free: 5.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.1266, allocations: 23.94 kB / 366 MB, free: 5.746 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.0001333/0.1267, allocations: 103.2 kB / 366.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.127, allocations: 106.7 kB / 366.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.127, allocations: 0 / 366.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.127, allocations: 16.98 kB / 366.2 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.1275, allocations: 71.95 kB / 366.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.128, allocations: 281.6 kB / 366.6 MB, free: 5.133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.1284, allocations: 0.724 MB / 367.3 MB, free: 4.383 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.54e-05/0.1285, allocations: 9.438 kB / 367.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.1285, allocations: 19.42 kB / 367.3 MB, free: 4.355 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1285, allocations: 0 / 367.3 MB, free: 4.355 MB / 302.1 MB Notification: Performance of Templates: time 0.003922/0.1325, allocations: 1.2 MB / 368.5 MB, free: 3.164 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 -s gbode -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