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.001199/0.001199, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 60.06 kB / 306.9 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 50.53 MB / 357.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004263/0.1148, allocations: 1.821 MB / 359.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1164, allocations: 0.5844 MB / 359.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.1166, allocations: 7.938 kB / 359.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.819e-05/0.1168, allocations: 7.922 kB / 359.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.117, allocations: 15.88 kB / 359.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.1176, allocations: 99.39 kB / 360 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1178, allocations: 91.7 kB / 360.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1179, allocations: 25.42 kB / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.1181, allocations: 47.84 kB / 360.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.73e-05/0.1183, allocations: 47.7 kB / 360.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.1183, allocations: 4 kB / 360.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.1184, allocations: 8 kB / 360.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.1184, allocations: 23.91 kB / 360.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.1185, allocations: 47.67 kB / 360.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1187, allocations: 71.88 kB / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1187, allocations: 0 / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1187, allocations: 0 / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1187, allocations: 0 / 360.3 MB, free: 11.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.0007688/0.1195, allocations: 445.3 kB / 360.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.144e-05/0.1196, allocations: 12.03 kB / 360.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.1198, allocations: 20.75 kB / 360.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1201, allocations: 217.1 kB / 361 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.1201, allocations: 8.375 kB / 361 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1202, allocations: 12.38 kB / 361 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.1208, allocations: 273.8 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.1208, allocations: 7.938 kB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1208, allocations: 0 / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1208, allocations: 4 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.121, allocations: 43.97 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.1215, allocations: 314.3 kB / 361.7 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.1218, allocations: 131.9 kB / 361.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1219, allocations: 82.58 kB / 361.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.122, allocations: 7.938 kB / 361.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.122, allocations: 42.48 kB / 361.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.122, allocations: 0 / 361.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00047/0.1225, allocations: 169.6 kB / 362.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.1226, allocations: 122.7 kB / 362.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1228, allocations: 154.2 kB / 362.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1228, allocations: 29.7 kB / 362.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.1229, allocations: 100.2 kB / 362.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1229, allocations: 15.89 kB / 362.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.123, allocations: 37.61 kB / 362.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1232, allocations: 326.8 kB / 362.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.1232, allocations: 23.98 kB / 362.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1234, allocations: 138.1 kB / 363 MB, free: 8.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.1236, allocations: 170.4 kB / 363.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1237, allocations: 0 / 363.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000326/0.124, allocations: 185.2 kB / 363.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.124, allocations: 8 kB / 363.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.124, allocations: 4.531 kB / 363.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1241, allocations: 8 kB / 363.4 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.1242, allocations: 31.92 kB / 363.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1242, allocations: 4 kB / 363.4 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.812e-05/0.1243, allocations: 19.84 kB / 363.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.1243, allocations: 8 kB / 363.4 MB, free: 7.898 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.0001452/0.1245, allocations: 149.6 kB / 363.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.1247, allocations: 117.8 kB / 363.7 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.1248, allocations: 16.72 kB / 363.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1248, allocations: 8 kB / 363.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1248, allocations: 3.938 kB / 363.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1248, allocations: 8.016 kB / 363.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.125, allocations: 197.5 kB / 363.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.125, allocations: 4 kB / 363.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1252, allocations: 19.98 kB / 363.9 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.1252, allocations: 4 kB / 364 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.1252, allocations: 7.984 kB / 364 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1252, allocations: 4.391 kB / 364 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1252, allocations: 0 / 364 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.1256, allocations: 252.9 kB / 364.2 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1257, allocations: 108.9 kB / 364.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1257, allocations: 4 kB / 364.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.1258, allocations: 4 kB / 364.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1259, allocations: 7.938 kB / 364.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1259, allocations: 11.98 kB / 364.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.687e-05/0.126, allocations: 116.1 kB / 364.5 MB, free: 6.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.126, allocations: 0 / 364.5 MB, free: 6.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1263, allocations: 20 kB / 364.5 MB, free: 6.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.0001712/0.1265, allocations: 107.2 kB / 364.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.1268, allocations: 112.5 kB / 364.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1268, allocations: 0 / 364.7 MB, free: 6.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.144e-05/0.1268, allocations: 8 kB / 364.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.1274, allocations: 75.94 kB / 364.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.128, allocations: 352.2 kB / 365.1 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.1284, allocations: 0.7204 MB / 365.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.1285, allocations: 23.42 kB / 365.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1285, allocations: 0 / 365.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of Templates: time 0.003505/0.132, allocations: 1.474 MB / 367.3 MB, free: 3.812 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