Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.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.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|fractionalDelay.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 117.8 kB / 17.7 MB, free: 5.305 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.001085/0.001085, allocations: 191 kB / 18.63 MB, free: 4.375 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.381/1.381, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000983/0.0009831, allocations: 46.58 kB / 302.1 MB, free: 5.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1062, allocations: 49.45 MB / 351.5 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay): time 0.002922/0.1092, allocations: 1.578 MB / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008662/0.11, allocations: 0.5531 MB / 353.6 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.1101, allocations: 4 kB / 353.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.1104, allocations: 15.81 kB / 353.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/0.1104, allocations: 11.92 kB / 353.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.1107, allocations: 63.8 kB / 353.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1108, allocations: 59.84 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.579e-05/0.1109, allocations: 15.98 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.111, allocations: 51.77 kB / 353.9 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.1111, allocations: 23.86 kB / 353.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1112, allocations: 7.938 kB / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.1112, allocations: 4 kB / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.1112, allocations: 23.92 kB / 353.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.1113, allocations: 35.78 kB / 354 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.1114, allocations: 63.73 kB / 354 MB, free: 1.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1114, allocations: 7.938 kB / 354 MB, free: 1.121 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1114, allocations: 0 / 354 MB, free: 1.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1115, allocations: 3.984 kB / 354 MB, free: 1.117 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000517/0.112, allocations: 387.1 kB / 354.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.112, allocations: 11.89 kB / 354.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.1121, allocations: 12.84 kB / 354.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.1123, allocations: 200.6 kB / 354.6 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1124, allocations: 8.375 kB / 354.6 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1124, allocations: 4.125 kB / 354.6 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.1127, allocations: 153.8 kB / 354.8 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1127, allocations: 3.938 kB / 354.8 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1127, allocations: 0 / 354.8 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1127, allocations: 0 / 354.8 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1129, allocations: 31.97 kB / 354.8 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.1133, allocations: 286.5 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1134, allocations: 83.84 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.1135, allocations: 42.62 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1135, allocations: 0 / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1136, allocations: 38.56 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1136, allocations: 0 / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003258/0.1139, allocations: 113.6 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.114, allocations: 115.1 kB / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1141, allocations: 143.5 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1142, allocations: 25.7 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.1142, allocations: 92.12 kB / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1142, allocations: 11.89 kB / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.1143, allocations: 29.7 kB / 355.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1144, allocations: 314.8 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-05/0.1145, allocations: 31.92 kB / 356.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.1146, allocations: 58 kB / 356.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1147, allocations: 89.86 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1147, allocations: 0 / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001728/0.1149, allocations: 101.5 kB / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1149, allocations: 8 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1149, allocations: 0 / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.115, allocations: 4 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.1151, allocations: 19.92 kB / 356.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1151, allocations: 0 / 356.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.1151, allocations: 11.88 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1152, allocations: 7.984 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fractionalDelay.first,fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.first,fractionalDelay.u_buffer[1]) * 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 0.000118/0.1153, allocations: 133.8 kB / 356.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1154, allocations: 69.59 kB / 356.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.1154, allocations: 24.28 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1155, allocations: 0 / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1155, allocations: 4 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1155, allocations: 3.938 kB / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1157, allocations: 177.5 kB / 356.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1157, allocations: 0 / 356.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.1157, allocations: 15.94 kB / 356.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1158, allocations: 0 / 356.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1158, allocations: 3.984 kB / 356.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1158, allocations: 4.031 kB / 356.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1158, allocations: 4 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.116, allocations: 193.1 kB / 357 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.1161, allocations: 97 kB / 357.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.1161, allocations: 7.984 kB / 357.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1162, allocations: 4 kB / 357.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.1162, allocations: 7.938 kB / 357.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1162, allocations: 12 kB / 357.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.021e-05/0.1163, allocations: 112.6 kB / 357.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1163, allocations: 0 / 357.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1166, allocations: 8 kB / 357.3 MB, free: 13.43 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: 1 (fractionalDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fractionalDelay.u_buffer[1],fractionalDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001104/0.1167, allocations: 103.2 kB / 357.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1169, allocations: 55.91 kB / 357.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1169, allocations: 192 / 357.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.1169, allocations: 15.92 kB / 357.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1173, allocations: 39.95 kB / 357.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.1178, allocations: 213.2 kB / 357.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1181, allocations: 0.7085 MB / 358.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.557e-05/0.1181, allocations: 8.656 kB / 358.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1182, allocations: 11.44 kB / 358.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1182, allocations: 0 / 358.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Templates: time 0.003095/0.1213, allocations: 0.8299 MB / 359.3 MB, free: 11.4 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/FractionalDelay/FractionalDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.FractionalDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches